C 11 Support in Eclipse CDT Indexer for Juno/Kepler/Luna
Eclipse CDT's indexer provides error highlighting before compilation. While this question focuses solely on configuring the indexer for C 11 support, it's important to note that this does not modify compiler settings.
To enable C 11 support in the indexer, navigate to:
Append -std=c 0x (or -std=c 11) to the "Command to get compiler specs" field.
${COMMAND} -E -P -v -dD ${INPUTS} -std=c++0x
Sources:
Related:
Update:
Tested successfully with:
The above is the detailed content of How to Enable C 11 Support in Eclipse CDT Indexer for Juno/Kepler/Luna?. For more information, please follow other related articles on the PHP Chinese website!