[cmake-developers] [PATCH] QtCreator integration: C++ includes must come first

Brad King brad.king at kitware.com
Fri Aug 26 09:59:16 EDT 2016


On 08/25/2016 02:54 PM, Kevin Ottens wrote:
> When using the Clang Code Model in QtCreator, it turned out that having
> the C system include dirs can make it report false positives for most
> uses on the STL. This is due to the order the Clang Code Model looks at
> the include directories and some C includes in /usr/include could be
> incompatible with the used STL if found first.

Thanks, applied:

 CodeBlocks: List C++ includes first
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=38995d19

-Brad


More information about the cmake-developers mailing list