> 
> How about this patch?
> 
> Index: profile.bashrc
> ===================================================================
> --- profile.bashrc      (revision 27541)
> +++ profile.bashrc      (working copy)
> @@ -1,3 +1,8 @@
> +# One basically always wants -D_ALL_SOURCE, it's some stupid
> restriction
> +# to hide useful stuff
> +[[ ${CFLAGS} != *"-D_ALL_SOURCE"* ]] && CFLAGS="-D_ALL_SOURCE
> ${CFLAGS}"
> +[[ ${CXXFLAGS} != *"-D_ALL_SOURCE"* ]] && CXXFLAGS="-D_ALL_SOURCE
> ${CXXFLAGS}"
> +

Haubi suggested this small enhancement:

[[ " ${CFLAGS} " != *" -D_ALL_SOURCE "* ]] && .......

Another thought from haubi:

What if we just patch gcc to define _ALL_SOURCE as built-in. if we require it 
to be undefined, we can still use -U on the command line, right?

Cheers, Markus

>  # On interix, binary files (executables, shared libraries) in use
>  # cannot be replaced during merge.
>  # But it is possible to rename them and remove lateron when they are
> 

--
[email protected] mailing list

Reply via email to