Bug#704598: libc0.1-dev: sys/mount.h requires C99

2013-04-14 Thread Petr Salinger
clone 704598 kfreebsd-kernel-headers -- At first glance at this, I think it was made 'static inline' because the function (copied from FreeBSD libc) really is being inlined into the header; it wouldn't be linked into the executable otherwise as glibc does not have it. I think 'static' is

Bug#704598: libc0.1-dev: sys/mount.h requires C99

2013-04-12 Thread Pino Toscano
Alle giovedì 4 aprile 2013, Dmitrijs Ledkovs ha scritto: On 3 April 2013 21:39, Pino Toscano p...@debian.org wrote: Alle mercoledì 3 aprile 2013, Steven Chamberlain ha scritto: $ gcc -D_BSD_SOURCE -std=c90 -o mount mount.c Do any packages actually do this? Compile with -std=c90 or

Bug#704598: libc0.1-dev: sys/mount.h requires C99

2013-04-12 Thread Steven Chamberlain
On 12/04/13 17:49, Pino Toscano wrote: GNU/kFreeBSD porters, can you please take a look at this? At first glance at this, I think it was made 'static inline' because the function (copied from FreeBSD libc) really is being inlined into the header; it wouldn't be linked into the executable

Bug#704598: libc0.1-dev: sys/mount.h requires C99

2013-04-04 Thread Dmitrijs Ledkovs
On 3 April 2013 21:39, Pino Toscano p...@debian.org wrote: Alle mercoledì 3 aprile 2013, Steven Chamberlain ha scritto: $ gcc -D_BSD_SOURCE -std=c90 -o mount mount.c Do any packages actually do this? Compile with -std=c90 or -ansi or -std and use this header? This breaks the sys/mount.h

Bug#704598: libc0.1-dev: sys/mount.h requires C99

2013-04-03 Thread Pino Toscano
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: vvv #include sys/mount.h int main(){return 0;} ^^ $ gcc -D_BSD_SOURCE -std=c90

Bug#704598: libc0.1-dev: sys/mount.h requires C99

2013-04-03 Thread Steven Chamberlain
Hi Pino, $ gcc -D_BSD_SOURCE -std=c90 -o mount mount.c Do any packages actually do this? Compile with -std=c90 or -ansi or -std and use this header? Regards, -- Steven Chamberlain ste...@pyro.eu.org -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of

Bug#704598: libc0.1-dev: sys/mount.h requires C99

2013-04-03 Thread Pino Toscano
Alle mercoledì 3 aprile 2013, Steven Chamberlain ha scritto: $ gcc -D_BSD_SOURCE -std=c90 -o mount mount.c Do any packages actually do this? Compile with -std=c90 or -ansi or -std and use this header? This breaks the sys/mount.h detection done by kdelibs, which forces c90 to stay