Home > Backend Development > C++ > body text

How to Enable C 11 Support in Eclipse CDT Indexer?

Patricia Arquette
Release: 2024-11-10 09:30:03
Original
775 people have browsed it

How to Enable C  11 Support in Eclipse CDT Indexer?

Integrating C 11 Support in Eclipse CDT Indexer

Enabling support for the latest C standard in Eclipse CDT's indexer on Juno, Kepler, and Luna involves modifying Eclipse indexer settings.

To begin, navigate to "Project properties -> C/C General -> Preprocessor Include Paths, Macros etc." and select the "Providers" tab. Within "CDT GCC Built-in Compiler Settings," add "-std=c 0x" or "-std=c 11" to "Command to get compiler specs."

After the change, it should resemble the following:

${COMMAND} -E -P -v -dD ${INPUTS} -std=c++0x
Copy after login

This setting modifies the Eclipse indexer behaviors, allowing it to recognize C 11 features. It's worth noting that this change affects indexing only; compiler settings remain unchanged.

The above is the detailed content of How to Enable C 11 Support in Eclipse CDT Indexer?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template