forked from qt-creator/qt-creator
Clang: fix intrinsic errors with boost
Add extra define not to include intrinsic headers from boost headers. Task-number: QTCREATORBUG-16439 Change-Id: I887fe63e2560afebdbe9f3d3587f99f95d408997 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -300,6 +300,7 @@ void CompilerOptionsBuilder::addDefineToAvoidIncludingGccOrMinGwIntrinsics()
|
|||||||
if (type == ProjectExplorer::Constants::MINGW_TOOLCHAIN_TYPEID
|
if (type == ProjectExplorer::Constants::MINGW_TOOLCHAIN_TYPEID
|
||||||
|| type == ProjectExplorer::Constants::GCC_TOOLCHAIN_TYPEID) {
|
|| type == ProjectExplorer::Constants::GCC_TOOLCHAIN_TYPEID) {
|
||||||
addDefine("#define _X86INTRIN_H_INCLUDED");
|
addDefine("#define _X86INTRIN_H_INCLUDED");
|
||||||
|
addDefine("#define BOOST_UUID_NO_SIMD");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user