enabling #ident in Apple gcc
enabling #ident in Apple gcc
- Subject: enabling #ident in Apple gcc
- From: "Chris Inacio" <email@hidden>
- Date: Mon, 14 Apr 2008 14:59:00 -0400
I work on developing cross platform software, (YAF, libfixbuf,) which runs on multiple varieties of Unix/POSIX. We have started to put:
#ident "$Id$
into our code to be able to use the ident command to find version numbers. This works on all platforms I've tested with all the compilers I've tested, (Linux, Solaris, gcc, Sun Pro, Intel C) except for Mac OS. It doesn't cause an error on Mac OS, it just doesn't work. I searched the list and tried the
-no-cpp-precomp
switch and it doesn't seem to help. Is there something I am missing? Is there a way to make this work?
thanks,
Chris Inacio
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden