Which version of C++ is default in GCC 7?
Jeffrey Walton
noloader@gmail.com
Sat Apr 29 08:07:00 GMT 2017
On Sat, Apr 29, 2017 at 12:31 AM, Markus Trippelsdorf
<markus@trippelsdorf.de> wrote:
> On 2017.04.28 at 17:59 -0400, Jeffrey Walton wrote:
>> Hi Eveyone,
>>
>> I was reading though https://gcc.gnu.org/gcc-7/changes.html.
>>
>> Which version of C++ is default in GCC 7?
>
> % echo | g++ -x c++ -dM -E - | grep cplusplus
> #define __cplusplus 201402L
Thanks. Is that -std=c++14 or -std=gnu++14?
Jeff
More information about the Gcc-help
mailing list