imake

Brandon Allbery allbery.b at gmail.com
Sat Sep 27 20:55:06 PDT 2014


On Sat, Sep 27, 2014 at 11:47 PM, Joshua Root <jmr at macports.org> wrote:

> That isn't the issue AFAICT, it's just doing things with comments that
> were probably undefined before and now don't work:
>

That is in fact closely related to the issue. The old K&R preprocessor
allowed that as a hack; ANSI C required that comments expand to spaces, and
provided new # and ## operations for token splicing --- but these require
valid C tokens.

    # define ProjectRulesFile       Concat3(<,TopLevelProject,.rules>)

may happen to work if you update it to use ANSI token splicing --- but I
doubt it, since it's designed for valid C tokens and you're trying to
generate a single invalid C token.

Also watch what happens with single quoted strings when xmkmf expands
macros in Imakefiles.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140927/68755c35/attachment-0001.html>


More information about the macports-dev mailing list