Query of type of memcpy (and sys_errlist) on Cygwin
Tatsuro MATSUOKA
tmacchant2@yahoo.co.jp
Sun Apr 10 03:14:00 GMT 2016
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);
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
--
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
More information about the Cygwin
mailing list