Package: libc0.1-dev
Version: 2.13-38
Severity: normal

Hi,

currently, using sys/mount.h provided on kFreeBSD by glibc requires
compiling it with C99.

Basically, compiling a very tiny test case like:
vvvvvvvvvvv
#include <sys/mount.h>

int main(){return 0;}
^^^^^^^^^^
$ gcc -D_BSD_SOURCE -std=c90 -o mount mount.c
In file included from mount.c:1:0:
/usr/include/i386-kfreebsd-gnu/sys/mount.h:389:15: error: expected '=', ',', 
';', 'asm' or '__attribute__' before 'int'

while it succeeds when using -std=c99 (or equivalents).

-- 
Pino


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130403111940.16093.73998.reportbug@drak

Reply via email to