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 -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.
And I see no point in breaking compatibility with FreeBSD for really no reason, especially when the GNU/kFreeBSD port makes uses of FreeBSD parts for low-level stuff. (And this issue has nothing to do with "23 year old compilers", but it's about the C standard used.) We have and still are uploading KDE 4.10.x (currently .2) pieces to experimental, and so far this issue has caused build issues in kde4libs, libkcompactdisc, kde-workspace. KDE compiles fine on FreeBSD and it did with previous versions of sys/mount.h on GNU/kFreeBSD, so I expect it to continue to do so. GNU/kFreeBSD porters, can you please take a look at this? Thanks, -- Pino Toscano
signature.asc
Description: This is a digitally signed message part.