Jump to content

View more

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

CodeLite-CPP-Variadic Templates Error

4: Adsense

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   

226
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

#2 ApochPiQ   Moderators   

22551
Like
1Likes
Like

Posted 27 June 2011 - 05:33 PM

When in doubt, try the documentation ;-)
Wielder of the Sacred Wands
[Work - ArenaNet] [Epoch Language] [Scribblings]

#3 Jacob Jingle   Members   

226
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   

226
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.