On Dec 12 23:42, Thomas Wolff wrote: > With cygwin-devel 1.7.34-002, the following test program (2 lines): > #define _BSD_SOURCE > #include <stdlib.h> > > produces this error: > In file included from test.c:2:0: > /usr/include/stdlib.h:258:23: error: expected string literal before > ‘__ASMNAME’ > __asm__ (__ASMNAME ("__bsd_qsort_r")); > ^
Thanks. Try adding #include <sys/cdefs.h> This include is missing in stdlib.h, but it's required to get the definition of __ASMNAME. I'll fix that upstream. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgp3oMIo8enK_.pgp
Description: PGP signature