Hi guys, GCC 11 switched the default mode for C++ to -std=gnu++17 instead of -std=gnu++14. The problem is that GCC 11 FOAM-Extend code is not in accordance with C++17 standard. The code compiled fine when I switched GCC 11 back to -std=c++14, 2014 ISO C++ standard plus amendments. Best regards, Robert
Hi guys, any news on this ticket? How can I help so that we make it work? Best regards, Robert
Hi Hrvoje, I will explain it in more details. I was building FOAM-Extend 4.1 from the master branch, commit 11cb6dafc53a5d3ce3292dc3135bfc0f7378907e – November 2nd 2020; with GCC 10.2, 10.3 and 11.2. The first two compilers compiled just fine, and the last one, 11.2, fails with the error below. You suggested to pull the latest changes from the master branch, however, the last commit to the master branch is from July 7th, 2021, thus it doesn’t contain the fix. The changes from September 15th belong...
Hi Hrvoje, I will explain it in more details. I was building FOAM-Extend 4.1 from the master branch, commit 11cb6dafc53a5d3ce3292dc3135bfc0f7378907e – November 2nd 2020; with GCC 10.2, 10.3 and 11.2. The first two compilers compiled just fine, and the last one, 11.2, fails with the error below. You suggested to pull the latest changes from the master branch, however, the last commit to the master branch is from July 7th, 2021, thus it doesn’t contain the fix. The changes from September 15th belong...
Compiling FOAM-Extend with GCC 11