Does anyone know how to enable one of these switches in CodeLite so that I wont get this error:
:14: warning: variadic templates only available with -std=c++0x or -std=gnu++0x
Thanks ahead of time
Jacob Jingle
CodeLite-CPP-Variadic Templates Error
Started by Jacob Jingle, Jun 27 2011 04:26 PM
3 replies to this topic
Sponsor:
#2 Moderators - Reputation: 8419
Posted 27 June 2011 - 05:33 PM
When in doubt, try the documentation ;-)
Maker of Machinery
[Work - ArenaNet] [Epoch Language] [Scribblings] [Journal - peek into my shattered mind]
[Work - ArenaNet] [Epoch Language] [Scribblings] [Journal - peek into my shattered mind]
#3 Members - Reputation: 218
Posted 27 June 2011 - 08:55 PM
From a glance it seemed to be out of date. Maybe I'll give it another try.When in doubt, try the documentation ;-)
For anyone with same question the answer is:
Workspace -> Open Active Project Settings -> linker -> options -> ... button -> check c++0x option
Now I just have to figure out how to fix the error "debugger exited with the following error string: "no executable specified, use 'target_exec'.""
My first adventure away from msvc...What a party!
#4 Members - Reputation: 218
Posted 27 June 2011 - 09:20 PM
Add -mwindows to linker options. (Enter other options box)For anyone with same question the answer is:
Workspace -> Open Active Project Settings -> linker -> options -> ... button -> check c++0x option
Now I just have to figure out how to fix the error "debugger exited with the following error string: "no executable specified, use 'target_exec'.""
This thread can be closed. Thx ApochPiQ.






