This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-002


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

Attachment: pgp_ll43paHi6.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]