Raised This Month: $32 Target: $400
 8% 

auto keyword and AMBuilder


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NUdH3
Member
Join Date: Jul 2011
Old 09-20-2014 , 15:09   auto keyword and AMBuilder
Reply With Quote #1

Hello,

i want to use the auto statement in the last gcc version.

Where i must add '-std=c++11' as compiler option?
NUdH3 is offline
NUdH3
Member
Join Date: Jul 2011
Old 09-22-2014 , 13:51   Re: auto keyword and AMBuilder
Reply With Quote #2

I would use this for example:

Code:
auto a = 1 + 2;
but the error:

Code:
error: 'auto' will change meaning in C++0x; please remove it
How i can use that?
NUdH3 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode