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

Ulrich Mueller ulm at gentoo.org
Mon Jan 3 14:39:20 PST 2011


>>>>> On Mon, 03 Jan 2011, Adam Jackson wrote:

> 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.

Alternatively, -P could be added when constructing the final command
line. That would avoid both above-mentioned issues. New patch is
included below.

Ulrich




More information about the xorg-devel mailing list