Guide to Eclipse with C++11 standard

http://www.eclipse.org/forums/index.php/mv/msg/282618/787571/


  • Make a new C++ project (currently I have only tested "Empty Project -> Linux GCC". Others can verify on non-Linux platforms)
  • 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
  • C/C++ General -> Paths and Symbols -> Symbols -> GNU C++. Click "Add..." and paste "__GXX_EXPERIMENTAL_CXX0X__" into "Name" and leave "Value" blank.
  • Hit Apply, do whatever it asks you to do, then hit OK.


간단히 설명하면,

프로젝트의 "Properties"를 연다음

C/C++ General -> Paths and Symbols -> Symbols -> GNU C++ 에 "Add" 를 한다음

__GXX_EXPERIMENTAL_CXX0X__ 의 심볼을 추가해 주면 된다.



저작자 표시 비영리 동일 조건 변경 허락

'Eclipse' 카테고리의 다른 글

Guide to Eclipse with C++11 standard  (0) 2015/02/24
Eclipse CDT 설치하기 (Linux, Ubuntu)  (0) 2013/08/03
Posted by sound79 사운드친구

트랙백 주소 : http://sound79.tistory.com/trackback/177 관련글 쓰기

댓글을 달아 주세요



티스토리 툴바