This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

compilercache, important question on preprocessor stuff


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
                                                           '  `


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]