summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-05-19 08:23:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-05-19 09:25:06 +0200
commit95d109fd5f254f694684c0effe447f133872f40d (patch)
treef5a9613d0a9d9084b25031801c4fa7e8ba6e5101 /cui
parent5eaba9431a930a9237904cf356090c04eda81928 (diff)
Document that setting gb_CXX03FLAGS for clang-cl doesn't work
Setting it to > gb_CXX03FLAGS := -Xclang -std=gnu++98 -Werror=c++11-extensions -Wno-c++11-long-long -Wno-deprecated-declarations similar to the solenv/gbuild/platform/com_GCC_defs.mk setting would cause lots of errors like > In file included from <built-in>:1: > In file included from C:\llvm\inst\lib\clang\13.0.0\include\Intrin.h:33: > C:/PROGRA~2/MIB055~1/2019/COMMUN~1/VC/Tools/MSVC/1428~1.299/Include\setjmp.h(168,11): error: expected function body after function declarator > ) noexcept(false); > ^ > In file included from C:/lo-clang/core/odk/qa/checkapi/checkapi.cxx:22: > In file included from C:/lo-clang/core/workdir/UnpackedTarball/cppunit/include\cppunit/plugin/TestPlugIn.h:8: > In file included from C:/lo-clang/core/workdir/UnpackedTarball/cppunit/include\cppunit/plugin/PlugInParameters.h:8: > In file included from C:/PROGRA~2/MIB055~1/2019/COMMUN~1/VC/Tools/MSVC/1428~1.299/Include\deque:11: > In file included from C:/PROGRA~2/MIB055~1/2019/COMMUN~1/VC/Tools/MSVC/1428~1.299/Include\xmemory:11: > C:/PROGRA~2/MIB055~1/2019/COMMUN~1/VC/Tools/MSVC/1428~1.299/Include\cstdint(55,11): error: expected identifier or '{' > namespace _DEPRECATE_TR1_NAMESPACE tr1 { > ^ > C:/PROGRA~2/MIB055~1/2019/COMMUN~1/VC/Tools/MSVC/1428~1.299/Include\yvals_core.h(611,5): note: expanded from macro '_DEPRECATE_TR1_NAMESPACE' > [[deprecated( \ > ^ (where the first one comes from -FIIntrin.h that needs to be part of $(CXX) to have the intrinsics available in all compilation units) Change-Id: I1e8f135dd429dd18deb6df33dfa71e2fcbefa9f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115776 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cui')
0 files changed, 0 insertions, 0 deletions