[MPlayer-cvslog] r25535 - trunk/configure

Rich Felker dalias at aerifal.cx
Sat Dec 29 17:08:53 CET 2007


On Sat, Dec 29, 2007 at 09:30:15AM +0100, Jindrich Makovicka wrote:
> It enables C99 features and bunch of other stuff,
> see /usr/include/features.h. -D_ISOC99_SOURCE could be used as well in
> this case.
> 
> With newer GCCs, -std=c99 is preferred.

Am I the only one who finds it really annoying that gcc/glibc chooses
to be "broken by default" and requires special options to conform to
modern standards? It should be legacy applications which conflict with
standards that need the special CFLAGS, not modern correct apps. Are
developers of C99 apps expected to provide custom CFLAGS for each
combination of compiler and libc?? This is O(k*n*m) where k is the
number of apps, n is the number of compilers, and m is the number of
libcs...

Does posix getconf(1) work for getting the correct CFLAGS? Or do we
need to hard-code this brain damage in configure?

Rich



More information about the MPlayer-cvslog mailing list