Re: ITL build on gcc 3.2?

Bastian Goldluecke <[email protected]>
Newsgroups gmane.comp.lib.mtl.devel
Organization Max-Planck-Institut fuer Informatik
Message-ID <[email protected]>
> This seems to be a compiler-version Problem. You have to check if you
> really use gcc-3.2 for all compilation. I had such errors when I tried
> to link object files created by gcc-3.2 with gcc-2.95.
> So make sure CC _and_ CXX point to the same compiler. (and do a "make
> clean" and reconfigure MTL and ITL.)

Thanks for the advice, but it can't be a version problem. There is only one 
compiler installed on my system, and libs consisting only of templates don't 
have object files to be linked. Just to be sure I tried your tip to export 
the environment variables, but the error messages were the same.
I also extracted a fresh install directory for both libraries, and the system 
was installed from scratch, not updated, so there were no previous 
references. However, I just checked gcc -version and it is not 3.2 as I 
thought, instead it says:
"gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux)"
So maybe it's a compiler error? Perhaps there is a flag to force gcc 3.x to 
behave like 2.95.x with respect to C++-language-specs, I'll check that.

- Bastian.

_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.