Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Xcode and -std=c++11

Giorgio_L_
Beginner
423 Views

When using the command line with intel 2013 everything works perfectly if I call the compiler with icpc-std = c + +11.
Using the Xcode IDE I can't understand where (and haw) to enter-std = c + +11.

Some help please!!!

Giorgio

0 Kudos
2 Replies
Feilong_H_Intel
Employee
423 Views

Hi Giorgio,

Under "Build Options" section, Select "Intel C++ Compiler XE" in "Compiler for C/C++/Objective-C".  Scroll down, and you will see a section named "Intel C++ Compiler XE - Language".  In "C ANSI Conformance" dropdown box, select -std=c++11.  In 13.x compiler, it is called -std=c++0x.  FYI.

Feilong

0 Kudos
Giorgio_L_
Beginner
423 Views

Ok 

Thanks

Giorgio

0 Kudos
Reply