Is it still documented somewhere which compilers are supported? On Linux that would be GCC and Clang I suppose.
I had to compile JUCE 4.2 on GCC 4.4:
First error below:
juce/modules/juce_core/native/juce_posix_SharedCode.h: In member function ‘bool juce::File::deleteFile() const’: juce/modules/juce_core/native/juce_posix_SharedCode.h:418: error: ‘remove’ was not declared in this scope
remove is defined in
<stdio.h>, but that header is not included. Does that actually compile on newer versions?
And in the SVG parser I had to move the classes used to call
SVGState::XmlPath::applyOperationToChildWithID outside the function scopes to get it to compile. I’m assuming more recent compilers will handle this code as expected.
(*) yes GCC 4.4 is old, but remember you can’t target older distributions when compiling on Linux, so upgrading is not always an option.