Jump to content

  • Log In with Google      Sign In   
  • Create Account


CodeLite-CPP-Variadic Templates Error


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Jacob Jingle   Members   -  Reputation: 223

Like
0Likes
Like

Posted 27 June 2011 - 04:26 PM

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

Sponsor:

#2 ApochPiQ   Moderators   -  Reputation: 15084

Like
1Likes
Like

Posted 27 June 2011 - 05:33 PM

When in doubt, try the documentation ;-)

#3 Jacob Jingle   Members   -  Reputation: 223

Like
0Likes
Like

Posted 27 June 2011 - 08:55 PM

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!

#4 Jacob Jingle   Members   -  Reputation: 223

Like
-1Likes
Like

Posted 27 June 2011 - 09:20 PM

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'.""

Add -mwindows to linker options. (Enter other options box) :D

This thread can be closed. Thx ApochPiQ.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS