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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=SPuUKHIyWYUII+PD nWHqRtenPOGzqIgCXSAMogA2iKSMAncZadpRmLsuF0m6aXId9TZb9OlGJwgj2dhO cyu8zEKL7jvwUD4rs2lIaPq31r5vByYyTIoHtsvZwE4TJhRv2w2Fj28fDaMmnXC+ hYN3Jql1pn69dE1c4YRqEjps0HM= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=OXSAjQGWF9f1JybZzXTiPF yohUI=; b=LTzQTPNPl24HOkqJ1VsTsr/Xh8Vy+z2ipBXXnreBVgKly0Kd6buxFz nZSKFY160tDOT7ilCYIXPO4uwNFmoEVII9h71OvS9VbH0TN4hExt2OWkBS1Ldgbq 8+8hH5EhoBZ9iLT5XKDYg5X1/0vpanLxR/xI/tXvtCDSv+5jOKKGA= 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=-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 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) Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin To: cygwin AT cygwin DOT com 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> From: Marco Atzeri Message-ID: <5709FCDF.5010107@gmail.com> Date: Sun, 10 Apr 2016 09:12:31 +0200 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 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