[ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-002

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Dec 15 11:07:00 GMT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141215/1cb729f6/attachment.sig>


More information about the Cygwin mailing list