-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
Qt Creator 3.5.1
-
None
-
Mac OSX 10.11.2
Xcode 7.2
Command Line Tools for 10.11
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin15.2.0
Thread model: posix
Precompiled header file generation (with clang) fails when using a precompile header that includes stdint.
1) Open the precompile.pro example project included in a install of qt creator (Qt/Examples/Qt-5.5/qmake/precompile)
2) Add #include <cstdint> to the stable.h right above # include <iostream>
3) Add c+11 to CONFIG in the precompile.pro file to enable c+11 support
4) Build the project
Expected results: the project builds correctly and generates the precompiled header file
Actual results: the precompile header generation fails with the following error
../precompile/stable.h:46:10: fatal error: 'cstdint' file not found
#include <cstdint>