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]
Other format: [Raw text]

AW: __static_initialization_and_destruction_0(int, int) missing


Dear Gerrit,

> What do you try to compile? 

I try to help with wxArt2D, a wxWindows based persistent drawing canvas.
See http://wxart2d.sourceforge.net.

> Have you tried a google search 
> with topic '__static_initialization_and_destruction_0', it 
> shows that this was aleady reported several times.

Yes i tried google before and i found this, but it didn't help me. I
also read all the docs about this pragma interface/implementation, but
did not find any hint on my problem. If i comment the pragma
interface/implementation, things become much much worse. Then many many
template functions and template class members are missing. This is
probably because the app i am trying to compile not only uses but also
defines many template classes. It might also be that this is because i
am including header files from wxWindows, which uses pragma
interface/implementation as well and i don't like to remove it there.
Also if i read the docs right, it is not yet a good idea to remove these
pragmas, because then the executable size will grow considerably unless
special compiler options are used. So as far as i can see, i need a true
solution for this problem. 

Best regards,

Michael


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