Home >Backend Development >C++ >How do I enable C 11 support in the Eclipse CDT indexer?
Enabling C 11 Support in Eclipse CDT Indexer
The Eclipse CDT indexer, responsible for identifying errors prior to compilation, requires specific settings to support the C 11 standard. This article explores the steps to enable C 11 support in Eclipse CDT for Juno, Kepler, and Luna versions.
Indexer Configuration
To modify the Eclipse indexer settings:
After these modifications, the field should resemble the following:
${COMMAND} -E -P -v -dD ${INPUTS} -std=c++0x
Sources and Related Information
Additional Considerations
Note that this process only affects the Eclipse indexer and not the C compiler settings. If compilation fails due to missing C 11 settings, refer to the following resources:
Compatibility
These configurations have been successfully tested with Eclipse versions:
The above is the detailed content of How do I enable C 11 support in the Eclipse CDT indexer?. For more information, please follow other related articles on the PHP Chinese website!