From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24812 invoked by alias); 10 Apr 2016 22:52:51 -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 24804 invoked by uid 89); 10 Apr 2016 22:52:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*RU:sk:nh602.b, H*RU:sk:nh602-v, Hx-spam-relays-external:sk:nh602-v, HX-HELO:sk:nh602-v X-HELO: nh602-vm11.bullet.mail.ssk.yahoo.co.jp Received: from nh602-vm11.bullet.mail.ssk.yahoo.co.jp (HELO nh602-vm11.bullet.mail.ssk.yahoo.co.jp) (182.22.90.36) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 10 Apr 2016 22:52:40 +0000 Received: from [182.22.66.106] by nh602.bullet.mail.ssk.yahoo.co.jp with NNFMP; 10 Apr 2016 22:52:37 -0000 Received: from [182.22.91.129] by t604.bullet.mail.ssk.yahoo.co.jp with NNFMP; 10 Apr 2016 22:52:37 -0000 Received: from [127.0.0.1] by omp602.mail.ssk.yahoo.co.jp with NNFMP; 10 Apr 2016 22:52:37 -0000 Received: (qmail 28928 invoked by uid 60001); 10 Apr 2016 22:52:37 -0000 Message-ID: <366784.20161.qm@web101106.mail.kks.yahoo.co.jp> Received: from [133.6.57.2] by web101106.mail.kks.yahoo.co.jp via HTTP; Mon, 11 Apr 2016 07:52:37 JST X-YMail-JAS: hvEX0l4VM1mJzNnkt8XJqmJrQYYU7h.J32oZI0QrPEPtmAAC0k7NgUqxNa3n26DPQgu9kzPnRr6eychIWW_Lukmq0rI0XyrOGVgVCLi7tP8OFz0_u0a0lvDNc157vS44Gm2o References: <5707F2F0.9050702@gmail.com> <5708CDB6.1040500@iki.fi> <375427.72225.qm@web101113.mail.kks.yahoo.co.jp> <5709FCDF.5010107@gmail.com> Date: Sun, 10 Apr 2016 22:52:00 -0000 From: Tatsuro MATSUOKA Reply-To: Tatsuro MATSUOKA Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin To: Marco Atzeri , cygwin@cygwin.com In-Reply-To: <5709FCDF.5010107@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00196.txt.bz2 > From: Marco Atzeri > To: cygwin> Cc:=20 > Date: 2016/4/10, Sun 16:12 > Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin >=20 > Hi Tatsuro, > May be was better to not reply to a different thread ? >=20 I am pending the other thread and I want to discuss here. > On 10/04/2016 05:14, Tatsuro MATSUOKA wrote: >> Hello >> The topic was discussed on gnuplot mailing list. >>=20 > http://gnuplot.10905.n7.nabble.com/stdfn-h-error-conflicting-types-for-me= mcopy-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=20 > 'memcpy' >> =A0 char * memcpy __PROTO((char *, char *, size_t)); >>=20 >> ../../gnuplot/src/stdfn.h:171:14: error: conflicting types for=20 > 'sys_errlist' >> =A0 extern char *sys_errlist[]; >>=20 >> Ethan A Merritt suggested in the gnuplot mailing list that: >> Anyhow, the correct typing for memcpy is: >> =A0 =A0 void *memcpy(void *,=A0 const void *,=A0 size_t); >=20 > correct, when in doubt this is a good place to look for: > http://pubs.opengroup.org/onlinepubs/9699919799/functions/memcpy.html >=20 >> I have complied many times this source but I have not met such kinds of= =20 > errors. >> (Today I have cleanly installed Cygwin because I have cleanly install=20 > windows 10) >=20 >> Any suggestions? >> Tatsuro >>=20 >=20 > cygwin/newlib headers are under re-shuffle to simplify the guarding=20 > clauses in the main headers. > It is possible that gnuplot is misleaded and don't correctly detect=20 > memcopy as it should. >=20 > Have you tried to use latest test release ? > https://www.cygwin.com/ml/cygwin-announce/2016-04/msg00012.html >=20 OK I will try and report results here. Tatsuro -- 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