Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2012 21:31:28 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        John Hein <jhein@symmetricom.com>
Cc:        zeising@daemonic.se, freebsd-x11@freebsd.org, mexas@bristol.ac.uk, freebsd-ports@freebsd.org
Subject:   Re: astro/xearth on redports with clang: /usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' is not followed by a macro parameter
Message-ID:  <50620690.8010507@andric.com>
In-Reply-To: <20577.59432.798647.91007@gromit.timing.com>
References:  <201209251438.q8PEcHtv022851@mech-cluster241.men.bris.ac.uk> <5061C930.20007@andric.com> <20577.59432.798647.91007@gromit.timing.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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>;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50620690.8010507>