On 14-03-27 07:56 AM, Hans de Goede wrote:
> In some cases we may want to have -traditional for proper whitespace 
> preserving
> without -undef, as we actually want the system definitions to be in place
> so we can #ifdef on them. IE in xinit various .cpp files contain things like
>  #ifdef __APPLE__ and #ifdef __linux__
>
> So this patch adds a TRADITIONALCPPFLAGS variable which contains just
> -traditional where applicable without the other RAWCPPFLAGS for unsetting
> the system definitions.
This preserves backwards compatibility.

Once pushed, I need to make a new release for util-macros @ version 1.19.
Any module using TRADITIONALCPPFLAGS will need to require version 1.19.


Reviewed-by: Gaetan Nadon <[email protected]>
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to