Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 11.0.2
-
None
Description
Problem:
Getting the following error when trying to build a basic new "Qt Widgets Application" via clang:
main.cpp:1:10: In included file: no member named 'int8_t' in the global namespace /usr/include/c++/13/cstdint:51:11: note: error occurred here
The error is shown in-front of line 1 in `main.cpp`:
#include "mainwindow.h"
How to reproduce:
- Open QtCreator
- Create a new "Qt Widgets Application"
- Choose "Desktop Qt 6.5.2 Clang 64bit" as the active development kit
- You will find the error shown immediately from the language server
Notes:
- Project folders are attached
- A screenshot of the error is attached
- The program compiles and runs fine, it's a language server generated error
- This problem does not happen with "Desktop Qt 6.5.2 GCC 64bit"
- Clang version is in the environment info
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-29571 unknown type name 'uintptr_t' when using clang with C++20
- Closed