Trying to compile juce example application for windows with Code::Blocks and GNU GCC compiler. I have eliminated 14 compiler errors and now I’m down to 2 last errors, “throws different exceptions”.
line x: error: declaration of `void juce::juce_setWindowStyleBit(HWND__*, int, int, bool) throw ()’ throws different exceptions|
line x: error: than previous declaration `void juce::juce_setWindowStyleBit(HWND__*, int, int, bool)’|
I’ve tried adding or removing the throw() exception to the two different lines, but then I get a different compiler hanging problem with Code::Blocks.
Has anyone gotten around this before? It seems to be a bug or known issue with GNU GCC:
I know that this will compile just fine in VC++ compiler, but I have to use GNU GCC compiler. Why? Because I am porting a linux console application to Windows GUI with Juce.