C++ 용 코드 편집기로 Sublime Text 3을 사용하기 시작했으며, 두 가지 패키지 중 하나 인 SublimeLinter와 SublimeLinter-contrib-clang을 추가로 설치했습니다. linter에 C++ 11에 대한 지원이 없다는 것을 제외하면 모든 것이 잘 작동하는 것 같습니다. SublimeLinter with C++ 11
은 내가 C++ (11)와 함께 작동하도록 그것을 바꿀 수있는 방법을 알고 계십니까?
0
A
답변
1
가 :
이 솔루션은 환경 설정으로 이동하는 것입니다 -> 패키지 설정 -> SulbimeLinter -> 설정 기본.
가 다음 붙여 넣어야 : 어딘가에 "기본"네임 스페이스
"linters":
{
"clang": {
"extra_flags": "-std=c++11"
}
},
. 적어도 그것은 나를 위해 일했다.
건배!
1
SublimeLinter-contrib-clang troubleshooting guide에 따르면 C++ 표준 라이브러리 헤더를 찾는 데 문제가있을 수 있습니다 (글 머리 기호 3 참조). 작동하지 않거나 SublimeLinter-contrib-clang을 사용하여 문제가 해결되지 않으면 대신 C++ 11 개발 용이므로 SublimeLinter-cpplint 또는 SublimeLinter-cppcheck을 사용해보십시오. 같은 문제를 가진 사람을 위해
관련 문제
- 1. SublimeLinter javascript with PHP
- 2. TBB equivalent with C++ 11
- 3. Flycheck UsePackage with C++ 11
- 4. Makefile with -std = C++ 11
- 5. Pkcs # 11 with SSL with
- 6. std :: atomic with custom class (C++ 11)
- 7. C++ 11 for_each with lambda with member function
- 8. Eclipse를 설정할 수 없습니다 Juno C++ with std = C++ 11
- 9. C++ 11.
- 10. C++ 11
- 11. C++ 11
- 12. C++ 11
- 13. 문제 설치 SublimeLinter
- 14. sublimelinter : csslinter의 문제점
- 15. sublimelinter 아이콘을 설정하는 방법?
- 16. SublimeLinter 3 작동하지 않음
- 17. 게으름에서 C++ 11
- 18. C++ 11 in-class member initialization with this
- 19. Travis CI with Clang 3.4 및 C++ 11
- 20. VS 11 with std :: future - 버그입니까?
- 21. C++ (11) 정규식 혼란
- 22. SublimeLinter clang - 기본 헤더를 찾을 수 없습니다
- 23. "with with"macro with C
- 24. C++ 11 in autotools
- 25. C++ 11 비동기 세그먼트 오류
- 26. Cloud9 IDE의 C++ 11
- 27. Construction in C++ 11
- 28. C++ 11 스레드 대기
- 29. C++ 11 visual_studio에서 thread_local 키워드 지원 11
- 30. 오류 (389/703 with Wildfly 11 서버