On 29 Sep 2006 08:34:34 GMT, "Arpita" < XXXX@XXXXX.COM > wrote
A macro is not referenced in an archive, it is expanded in a
translation unit, basically a source file and anything the source file
Macros do not exist in compiled code. Whatever results from their
expansion does, in one way or another, if they are expanded.
What you have written so far would not create anything in a library at
all. Show us how these macros are used, in what context are they
If this set of macros expands to 10 in one source file and to 20 in
another, I would expect because that MACRO1 is TRUE and MACRO2 is not
TRUE in one file when the macros are read, and exactly the opposite
condition exists in the other source file.
comp.lang.c.moderated - moderation address: XXXX@XXXXX.COM -- you must
have an appropriate newsgroups line in your header for your mail to be seen,
or the newsgroup name in square brackets in the subject line. Sorry.