News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Code::Blocks forces -std=c++11 even when I try to use -std=c++14

Started by FaTony, June 05, 2016, 05:01:40 PM

Previous topic - Next topic

FaTony

So I'm on C::B 16.01 and I can't compile C++14 projects. I've checked the c++14 checkbox in build options but C::B adds -std=c++11 forcing the g++ to go into c++11 mode like so:
g++ -std=c++14 -fPIC -Wall -g -std=c++11

Help?

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

FaTony

Oh, I completely forgot about those. Yeah, the -std=c++11 was there. Thanks.