Migrating away from using cpp for startx and xinitrc in xinit

Hans de Goede hdegoede at redhat.com
Tue Feb 10 00:35:12 PST 2015


Hi,

On 10-02-15 08:39, Jeremy Huddleston Sequoia wrote:
> It seems that using cpp for startx and xinitrc in the xinit port is coming back to bite us now as different C preprocessors don't exactly process non-C files in ways that we might want.
>
> https://trac.macports.org/ticket/46811#comment:4
>
> Does anyone have any strong opinions about this state of affairs and how we should address it?  If not, I'll mull it over for a while and try to figure something out.

startx is quite fragile, I think it may be best to just fix things
so that they do work with the cpp from llvm, e.g. replace the #
comments with /* ... */ comments might be all that is necessary.

Regards,

Hans


More information about the xorg-devel mailing list