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
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
compatible with older/broken C compilers.
In any case, whatever is the reason, a libc header should compile with
any C version requested by the application/library.
--
Pino Toscano
signature.asc
Description: This is a digitally signed message part.
3 matches
Mail list logo