[PATCH xrdb] Call C preprocessor with -P option (changed behaviour in GCC 4.5)

Adam Jackson ajax at nwnk.net
Mon Jan 3 10:07:42 PST 2011

On Tue, 2010-12-28 at 16:58 +0100, Ulrich Mueller wrote:
> http://bugs.freedesktop.org/show_bug.cgi?id=32701
> http://bugs.gentoo.org/show_bug.cgi?id=347758
> Signed-off-by: Ulrich Mueller <ulm at gentoo.org>

This looks like a safe change in that all the extant cpp's seem to
accept -P with the same semantics (checked gcc, mcpp, and Solaris).  But
it leaks until exit, and it doesn't apply the -P if you do xrdb -cpp
foo, which seems wrong.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110103/9ffcdeec/attachment.pgp>

More information about the xorg-devel mailing list