Operating System - Linux
1752671 Members
5363 Online
108789 Solutions
New Discussion

Re: aCC3_39 with O4 option : Comdat key "std::numpunct<char>::id" not defined (5220)

 
martig
New Member

aCC3_39 with O4 option : Comdat key "std::numpunct<char>::id" not defined (5220)

Hello,
Due to the way the STL is slowed with AA option, we would like to compile our application with O4 option or at least to compile one component (library) with O4.
The library in question can be compiled with O4 and a will work with a test programm.
Still, when I compile the whole application, I get the following error :
ucomp :
Error at line 0 : Comdat key "std::numpunct::id" not defined (5220)

Of course, wihtout O4, the application links and works.

It looks like a bug in the compiler. Did anybody encountered the same problem or is aware of a patch?
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: aCC3_39 with O4 option : Comdat key "std::numpunct<char>::id" not defined (5220)

This may be this bug:
JAGaa68280: Error 5220 with +O4 and private inheritance on templates