- Make a new C++ project
- Default options for everything
- Once created, right-click the project and go to "Properties"
- C/C++ Build -> Settings -> Tool Settings -> GCC C++ Compiler -> Miscellaneous -> Other Flags. Put
-std=c++0x
at the end . ... instead of GCC C++ Compiler I have also Cygwin compiler - C/C++ General -> Paths and Symbols -> Symbols -> GNU C++. Click "Add..." and paste
__GXX_EXPERIMENTAL_CXX0X__
(ensure to append and prepend two underscores) into "Name" and leave "Value" blank. - Hit Apply, do whatever it asks you to do, then hit OK.
Saturday, August 4, 2012
C++11 eclipse MinGW configuration
This post is the memo of how to configure eclipse C/C++ on Windows using MinGW for C++11 standard.
Labels:
C++11,
eclipse cdt,
MinGW,
Programming
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment