Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2012 18:29:13 +0100
From:      Chris Rees <utisoft@gmail.com>
To:        John Hein <jhein@symmetricom.com>
Cc:        zeising@daemonic.se, Dimitry Andric <dimitry@andric.com>, freebsd-x11@freebsd.org, FreeBSD Mailing List <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:  <CADLo83-G%2Ba2ZsiPKMj_Eh95Y7CLF4b6h=AJLhMsJH-V__mmGXg@mail.gmail.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 25 Sep 2012 18:23, "John Hein" <jhein@symmetricom.com> wrote:
>
> Dimitry Andric wrote at 17:09 +0200 on Sep 25, 2012:
>  > On 2012-09-25 16:38, Anton Shterenlikht wrote:
>  > ...
>  > > $ grep -c imake /usr/ports/INDEX-10
>  > > 291
>  >
>  > That's a relatively low number, indeed. :)
>  >
>  >
>  > > This issue must cause problems for
>  > > quite a few other ports.
>  > > So is it an agreed policy to migrate away from
>  > > imake in time for 10-release?
>  >
>  > 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.

Imake *really* hates clang.  Although it can build with it, the resulting
imake is broken.

Fixing imake properly is the thing to do here.  I'm happy to help anyone
mad enough to try.

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83-G%2Ba2ZsiPKMj_Eh95Y7CLF4b6h=AJLhMsJH-V__mmGXg>