This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
compilercache, important question on preprocessor stuff
- To: gcc at gcc dot gnu dot org
- Subject: compilercache, important question on preprocessor stuff
- From: Erik Thiele <erikyyy at erikyyy dot de>
- Date: Thu, 12 Apr 2001 14:30:49 +0200
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
' `