Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
Qt Creator 4.10.0-beta1
-
None
-
Ubuntu 19.04
gcc 8.3.0
Description
- Extract our binary package of libclang 8.
- See the output of bin/llvm-config --cxxflags:
-I/home/qtrob/dev/g++-5.3/libclang-8.0/include -std=c++11 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
This may cause linker errors because "-D_GLIBCXX_USE_CXX11_ABI=0" is missing. The output from libclang 7 is better:
-I/home/qtrob/dev/g++-5.3/libclang-7.0/include -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
Attachments
Issue Links
- relates to
-
QTCREATORBUG-22563 Instructions about building with libclang in README.md are outdated
-
- Closed
-