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 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. >
While I understand why kdelibs is doing that, I see no point in Debian to stay compatible with 23 year old compilers. We can totally claim we don't support it, as there was no Debian in 1990 =)))) If anything kdelibs debian package will benefit from compiling with higher / default standards versions. C99 is a good target for now, while some features enabled in libc (in experimental I believe) are already from C11 (e.g. TIME_UTC is defined). I don't think we can claim to have all of debian compiled with C11 yet, but we should be better at that during jessie cycle. Regards, Dmitrijs. -- 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/canbhlujcjzkrwpndccpc1gyvjdrq1ab78qpvk51iyfg8z2q...@mail.gmail.com