Quote:
Originally Posted by Jamaika
|
It is
not unusual that the
default for
-std= changes between GCC major releases, but you can
explicitly specify
-std=gnu++14 in your CFLAGS, if you want the compiler to adhere to exactly
that version
As far as
source code is concerned, newer versions of the C++ standard (with or without GNU extensions) should be backward-compatible to older versions. Code written in C++14 (or even C++98) should compile with a C++17 compiler.
Binary compatibility is a different story. When it comes to C++, binaries compiled by different compiler versions (let alone different compilers) generally can
not be mixed, because the C++ standard does
not define an ABI.
Quote:
Rather, I meant the 2021 night versions
|
Another web-site offering "experimental" versions of MinGW/GCC (weekly snapshots) is here:
http://www.equation.com/servlet/equation.cmd?fa=fortran