astro/xearth on redports with clang: /usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' is not followed by a macro parameter

Dimitry Andric dimitry at andric.com
Tue Sep 25 19:31:33 UTC 2012


On 2012-09-25 19:21, John Hein wrote:
> Dimitry Andric wrote at 17:09 +0200 on Sep 25, 2012:
...
>   > Imake is obsolete, X.org migrated to autoconf+gmake a long time
>   > ago, and new software should avoid it.  That said, for old
>   > software, you could just add a dependency on one of the gcc ports,
>   > or maybe use another C preprocessor that supports -traditional
>   > mode.  I understood ucpp might be able to do the job.
>
> You could also raise a discussion with the clang folks.
> If it's really legitimate preprocessor syntax, clang/cpp
> could be fixed perhaps.

The problem is that Imake preprocessing depends on the -traditional
option[1], which clang does not support, and it is very unlikely[2] that
it will ever support it, unless there is huge demand, and somebody
willing to implement and maintain it.

-Dimitry

[1] <http://gcc.gnu.org/onlinedocs/cpp/Traditional-Mode.html>
[2] <http://llvm.org/bugs/show_bug.cgi?id=4557>


More information about the freebsd-x11 mailing list