Go to Post Be yourself and do what you love. - Greg Marra [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-01-2015, 18:43
bborah7390 bborah7390 is offline
Mentor
FRC #4941 (RoboBibb)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Macon GA
Posts: 24
bborah7390 is an unknown quantity at this point
Eclipse Build Issues

I am having the following issue when trying to build sample code using eclipse. Does anyone have any solutions or have seen this issue.

PHP Code:
#error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. 
Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 12-01-2015, 19:06
calcmogul's Avatar
calcmogul calcmogul is offline
WPILib Developer
AKA: Tyler Veness
FRC #3512 (Spartatroniks)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Santa Maria, CA
Posts: 51
calcmogul is just really nicecalcmogul is just really nicecalcmogul is just really nicecalcmogul is just really nice
Re: Eclipse Build Issues

At least on Linux, the example projects pass --std=c++1y to g++ already, which enables the ISO C++ 2014 standard (which is a superset of C++11). If it isn't enabled, do the following:

In the project's right-click context menu, navigate to Properties > C/C++ Build > Settings, then select "Cross G++ Compiler". The language standard under Dialect should be ISO C++1y.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:56.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi