User forums > Help
Code::Blocks forces -std=c++11 even when I try to use -std=c++14
(1/1)
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:
--- Code: ---g++ -std=c++14 -fPIC -Wall -g -std=c++11
--- End code ---
Help?
oBFusCATed:
Have you read this: http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
and the manual?
Do you have a project? Have you inspected you global compiler options for the -std=c++11 ?
FaTony:
Oh, I completely forgot about those. Yeah, the -std=c++11 was there. Thanks.
Navigation
[0] Message Index
Go to full version