[pooma-dev] Still more questions on GCC
Gabriel Dos Reis
gdr at codesourcery.com
Tue Oct 30 08:23:02 UTC 2001
Dave Nystrom <wdn at lanl.gov> writes:
[...]
| Does GCC work in some different manner so that templates get compiled even if
| they are not referenced.
Formally, if the template is never referenced in a wya which requires
its instantiation, then GCC (at least, since the 2.95 series) won't
instantiate it. Do you have a specific example on which EDG-base
compilers and GCC fundamentally different behaviour?
| I don't know if I am even making sense here but I
| am worried that I may be trying to compile code in TecFramework that has
| never been compiled by our other compilers and thus may be buggy. Is that
| possible?
That is possible, but without no concrete example, anything I could
say would be speculations.
I find it a good thing to exercise your code with at least two
different compilers.
Best,
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com
More information about the pooma-dev
mailing list