X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:references:date:from:reply-to :subject:to:in-reply-to:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=M7NFTurSzZs82Gyq 2yQPEnI017qPv2HpUGexNGdTE6YX0BNJtQOk9q/Fqo3tbvzPz7ritiNqiZLKx0QE ZW5MDhDnVXGNEPXlTXe+nizWLGaraTfPoao04M75fYGBLhQKcdWA456mxx+We6fW CN67rATLJk0vh+faTwoaXI9htmY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:references:date:from:reply-to :subject:to:in-reply-to:mime-version:content-type :content-transfer-encoding; s=default; bh=mmtCR2cHChz17Aa0piDp8t dVbK8=; b=luxWg6QzeirOCYdnqQJ8PQyX+nliNK0nLLfWKLG+S5WM2bAe8LzMUZ Rwt5wVx2L8eRirTIBtm5N1Is0V8Nz3koJT1NLiNWGgcZrc978L1tGbVp/MerVJGy bZ0vDpR0s40gm4L0+W8tyMm29eBbnXp5Gv3ef9rBhFsVFx2pij9mk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Message-ID: <366784.20161.qm@web101106.mail.kks.yahoo.co.jp> X-YMail-JAS: hvEX0l4VM1mJzNnkt8XJqmJrQYYU7h.J32oZI0QrPEPtmAAC0k7NgUqxNa3n26DPQgu9kzPnRr6eychIWW_Lukmq0rI0XyrOGVgVCLi7tP8OFz0_u0a0lvDNc157vS44Gm2o References: <5707F2F0 DOT 9050702 AT gmail DOT com> <5708CDB6 DOT 1040500 AT iki DOT fi> <375427 DOT 72225 DOT qm AT web101113 DOT mail DOT kks DOT yahoo DOT co DOT jp> <5709FCDF DOT 5010107 AT gmail DOT com> Date: Mon, 11 Apr 2016 07:52:37 +0900 (JST) From: Tatsuro MATSUOKA Reply-To: Tatsuro MATSUOKA Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin To: Marco Atzeri , cygwin AT cygwin DOT com In-Reply-To: <5709FCDF.5010107@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u3AMr3Qm011252 > From: Marco Atzeri > To: cygwin> Cc: > Date: 2016/4/10, Sun 16:12 > Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin > > Hi Tatsuro, > May be was better to not reply to a different thread ? > 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. >> > 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 > 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