• Advertisement
Sign in to follow this  

CodeLite-CPP-Variadic Templates Error

This topic is 2401 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement

When in doubt, try the documentation ;-)

From a glance it seemed to be out of date. Maybe I'll give it another try.

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!

Share this post


Link to post
Share on other sites
[quote name='Jacob Jingle']
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'.""
[/quote]
Add -mwindows to linker options. (Enter other options box) :D

This thread can be closed. Thx ApochPiQ.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement