Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
BUILD: Use C++14 / C++11 by default #1294
This detects and addresses a problem with the AmigaOS compiler that prevents standard C++ versions from working correctly due to a missing vsnprintf.
The blessed way to run the compiler is to use some custom GNU Make file from PSPSDK, which we do not use, which sets the appropriate linker flags. Running the compiler stand-alone just fails at link time because crt0.o references libraries which are not included by default. The main compiler test was changed to not link in 513cdb4, apparently because the PS2SDK did the same thing, and now that we have more tests (some of which do require linking since we test for unresolvable symbols), it is really necessary to get the flags set up early.
So, in order to have a newer C++ standard enabled by default, so we could start relying on it, somebody needs to add in a separate file a series of tests for all the desired functionality, just calling is fine, and make a separate configure key for enabling it.
Then, at the time of release, we will ask all porters to try to compile it and report. This way we will understand any potential losses or complications.
In the meantime, closing this.