I've read a number of solutions to this question and they all involve going to C/C++ Build >> Settings and changing something, but in my Eclipse all I have under there is tabs for "binary parsers" and "error parsers", no "Miscellaneous" or "dialectic" or whatever. How do I get around this?
Asked
Active
Viewed 229 times
0
-
Found this thread that applies: https://stackoverflow.com/questions/39134872/how-do-you-enable-c11-syntax-in-eclipse-neon – Mastiff Oct 23 '18 at 16:17
-
1Eclipse Luna is 4 years and 5 releases old, perhaps you need something newer. Eclipse 2018-09 is the current release. – greg-449 Oct 23 '18 at 17:03
-
See https://wiki.eclipse.org/CDT/User/FAQ#CDT_does_not_recognize_C.2B.2B11_features – howlger Oct 23 '18 at 22:25
1 Answers
1
In this case, the issue is not related to the Eclipse version, but the project type. The instructions you've been looking at are for choosing C++11 for a managed build project.
You probably have a makefile project; see this question for enabling C++11 mode in a makefile project.
(That said, I would still recommend upgrading to a newer version of Eclipse for other reasons, such as much improved C++ parsing support.)

HighCommander4
- 50,428
- 24
- 122
- 194