On Fri, 26 Sep 2003, Peter Eisentraut wrote:

> Stephan Szabo writes:
>
> > It's not a problem for me unless I'm compiling with CFLAGS="-std=c89".
>
> Don't do that then. :-)

Well, the discussion started with Tom trying to find an option that
disallowed // comments for gcc. :)

> I don't agree with cluttering the compile line with -D_GNU_SOURCE just for
> the case when someone adds additional unsupported compiler flags.  We
> might as well add -fhosted just in case someone tries to compile with
> -ffreestanding.

Fundamentally however, having configure run with a fundamentally different
compilation environment from an actual build (which _GNU_SOURCE basically
does) is dangerous.  Even without -std=c89, can we say for sure that the
environment without it is exactly the same as with it?


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to