compilercache, important question on preprocessor stuff
Erik Thiele
erikyyy@erikyyy.de
Thu Apr 12 05:31:00 GMT 2001
hi!
the gnu compiler is divided into preprocessing stage and the "rest".
the preprocessor still outputs some lines with # at the beginning.
the question is, if and only if debugging is turned off (!!!!!!!!!!!!)
which of the # lines are used by the "rest" and which of them can
be silently erased with NO (!) effect on the resulting .o file ?
so far i am assuming, only the lines starting "#pragma" are important,
all the rest can be erased. is this correct or am i missing something?
it is important for me to exactly know this. otherwise the compilercache
will produce wrong .o files.
and do the #pragma stuff really have an effect on the .o file ?
(after preprocessing !!!!) and then isn't it a design error that
preprocessor stuff has effect after preprocessing ? why don'T you use
stuff like __attribute__((pragma implementation)) or so, which would be much
cleaner?
cu
erik
--
Name: Erik Thiele \\\\
Email: erikyyy@erikyyy.de o `QQ'_
WWW: http://www.erikyyy.de/ / __8
' `
More information about the Gcc
mailing list