[Cook] c_incl and -D
Peter Miller
millerp at canb.auug.org.au
Wed Mar 19 09:32:08 EST 2003
On Mon, 2003-03-03 at 09:06, Jason Evans wrote:
> c_incl doesn't ignore -D command line
> flags, which requires extra complexity in build systems to keep -I and -D
> cpp flags separate. Does it seem reasonable to Peter and others to add
> this pseudo feature to c_incl?
It's easy enough to get -D* options to be ignored. It requires
non-symmetric hacks in common/arglex.c to make -Dname=value parse
nicely.
Also, where does it stop? Will you want -W* and -f* and -m* next, and
all those other gcc options?
However, if you can come up with an elegant (well, as elegant as it can
be, I suppose) patch, I'll probably accept it.
--
Regards
Peter Miller <millerp at canb.auug.org.au>
/\/\* http://www.canb.auug.org.au/~millerp/
PGP public key ID: 1024D/D0EDB64D
fingerprint = AD0A C5DF C426 4F03 5D53 2BDB 18D8 A4E2 D0ED B64D
See http://www.keyserver.net or any PGP keyserver for public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://lists.auug.org.au/pipermail/cook-users/attachments/20030319/a334a81a/attachment.pgp>
More information about the Cook-users
mailing list