Re: Which version of C++ is default in GCC 7?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 29, 2017 at 12:31 AM, Markus Trippelsdorf
<markus@xxxxxxxxxxxxxxx> 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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux