I have been experimenting with the GCC 4 alpha and discovered that I could not build anything against the wxGTK libraries. I tracked the problem down to the #pragma interface/implementation lines in wx/protocol/file.h and sckfile.cpp. I think someone must have changed a filename in the past and missed this, but these pragmas use the wrong names! A patch is attached. I discovered after fixing the pragma problem that wxGTK seems to work fine when compiled with the visibility-inlines-hidden option (see bug 68500). Please retest this. Reproducible: Always Steps to Reproduce:
Created attachment 51324 [details, diff] Patch to fix #pragma implementation/interface lines
I screwed up the patch just a little. Please remove the last bit where I added a fprintf to the destructor.
this patch works for me and solved a missing symbol problem i saw on linking on another app
Just a heads-up: I'll be adding 2.6.0 to portage soon and will take a look a closer look at this. I'll be modifying 2.4.2 also, so may add your patch at the same time.
Created attachment 57549 [details, diff] wxGTK-2.6.0-pragma.patch fixed the diff header and updated to 2.6.0. testing in a bit.
bug #90839 obsoletes this bug.
Will use patch in bug #90839