This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Precompiled headers making for some odd trouble...
- From: "michael.a" <wild dot eyed dot boy dot from dot freecloud at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 27 Jun 2007 22:25:35 -0700 (PDT)
- Subject: Precompiled headers making for some odd trouble...
I've compiled the precompiled header, and the compiler is using it. But it
appears that when it is included, some or none of its symbols are declared.
The symbols the compiler says it can't find are in the binary precompiled
header. I only took -M options out when compiling the pch as they seemed
irrelevant.
I'm using autotools, so gleaming the appropriate options to pass was not
entirely transparent (if anyone has any autotools suggestions for pch's I'd
appreciate it btw)
I must currently make the pch manually (I included it as well in the
program_DEPENDENCIES variable, but I don't see any output regarding it when
making the entire program -- would be nice if there was a way to tell
automake to include a dependent target in all source targets)
In any case, I've no idea why the pch doesn't look like the header itself
when compiling. The first errors I see say that some typedefs which are
inside the pch include file are absent.
--
View this message in context: http://www.nabble.com/Precompiled-headers-making-for-some-odd-trouble...-tf3992487.html#a11337229
Sent from the gcc - Help mailing list archive at Nabble.com.