[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 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

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: