From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129872 invoked by alias); 10 Apr 2016 07:12:57 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 129817 invoked by uid 89); 10 Apr 2016 07:12:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*RU:74.125.82.47, Hx-spam-relays-external:74.125.82.47 X-HELO: mail-wm0-f47.google.com Received: from mail-wm0-f47.google.com (HELO mail-wm0-f47.google.com) (74.125.82.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 10 Apr 2016 07:12:45 +0000 Received: by mail-wm0-f47.google.com with SMTP id l6so108362166wml.1 for ; Sun, 10 Apr 2016 00:12:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=s+wkcmKyMBLR5u+o8ZANui118wxayD/B74uLzbuZFzw=; b=PEQglmcbtqQHPnvgWnpn6Y3nF3GRlGCj7jUhy1Qr5Vdc4pfkcPhJDX6h44Kmsn5Onf R7wQWxu8Db8Kgqw1Mc7m+q55QmfPFE/U8eqHN6oaesqdOaWKqFg/iIf6Tm9NDoHLtbpR HFP5yek2Z9CuVSfBQhLvqTXQUTBUR/OzCEa03wuyIyJiO1XGMckwjFL0/t9FzmRjcm2X TcQ4difWnJ0VGAR+8Kprla5B0KG7CeyLtxQkGqGvUEgBhAFtdzdCgdSJNReExMSl8dp2 03RLTyBC9GaqIpOmqtZf9HzkAYGRYO3H6O0dX2mTq/qm+Qm6D7OSHwxQayNdkbIgj3mC kRFQ== X-Gm-Message-State: AD7BkJK0qjT9H8oNXAK0BgAAyUlPdhEYoqSZtQ+D2m4Ot3Phq6OdR6zCE00UWd+tCQqYPA== X-Received: by 10.194.111.229 with SMTP id il5mr19515853wjb.82.1460272362215; Sun, 10 Apr 2016 00:12:42 -0700 (PDT) Received: from [192.168.2.109] (p5B1745A9.dip0.t-ipconnect.de. [91.23.69.169]) by smtp.googlemail.com with ESMTPSA id 7sm11040472wmn.7.2016.04.10.00.12.41 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Apr 2016 00:12:41 -0700 (PDT) Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin To: cygwin@cygwin.com References: <5707F2F0.9050702@gmail.com> <5708CDB6.1040500@iki.fi> <375427.72225.qm@web101113.mail.kks.yahoo.co.jp> From: Marco Atzeri Message-ID: <5709FCDF.5010107@gmail.com> Date: Sun, 10 Apr 2016 07:12:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <375427.72225.qm@web101113.mail.kks.yahoo.co.jp> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00188.txt.bz2 Hi Tatsuro, May be was better to not reply to a different thread ? On 10/04/2016 05:14, Tatsuro MATSUOKA wrote: > Hello > The topic was discussed on gnuplot mailing list. > http://gnuplot.10905.n7.nabble.com/stdfn-h-error-conflicting-types-for-memcopy-and-sys-errlist-on-Cygwin-build-td20061.html > Frorm discussion there (the topic is now pending.) , > I decided ask here. > In compling gnuplot I have met errors: > ../../gnuplot/src/stdfn.h:67:8: error: conflicting types for 'memcpy' > char * memcpy __PROTO((char *, char *, size_t)); > > ../../gnuplot/src/stdfn.h:171:14: error: conflicting types for 'sys_errlist' > extern char *sys_errlist[]; > > Ethan A Merritt suggested in the gnuplot mailing list that: > Anyhow, the correct typing for memcpy is: > void *memcpy(void *, const void *, size_t); correct, when in doubt this is a good place to look for: http://pubs.opengroup.org/onlinepubs/9699919799/functions/memcpy.html > I have complied many times this source but I have not met such kinds of errors. > (Today I have cleanly installed Cygwin because I have cleanly install windows 10) > Any suggestions? > Tatsuro > cygwin/newlib headers are under re-shuffle to simplify the guarding clauses in the main headers. It is possible that gnuplot is misleaded and don't correctly detect memcopy as it should. Have you tried to use latest test release ? https://www.cygwin.com/ml/cygwin-announce/2016-04/msg00012.html Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple