Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
1.18.0, 1.18.1
-
None
Description
The problem is similar to QBS-1621, but now MSVC affected.
#pragma once #include <QtCore/QObject> #include <boost/mpl/bitand.hpp> class Test : public QObject { Q_OBJECT };
Compile output:
moc test.h [test] C:\.conan\b90598\1\bin\moc.exe -D_CPPRTTI "-D_MSC_BUILD=0" -D_MSC_EXTENSIONS "-D_MSC_FULL_VER=192829336" "-D_MSC_VER=1928" -D_MT "-D_M_AMD64=100" "-D_M_X64=100" -D_WIN32 -D_WIN64 -DUNICODE -D_UNICODE -DWIN32 -DBOOST_USE_STATIC_LIBS -DBOOST_ALL_NO_LIB -DQT_CORE_LIB -IC:/.conan/b7c21d/1/include -IC:/.conan/b90598/1/include -IC:/.conan/b90598/1/include/QtCore -IC:/.conan/b90598/1/mkspecs/win32-msvc -IC:/Development/trash/build-test-MSVC_Conan_5_15_0-Debug/Debug_MSVC_Con_fae9567b4444f9d6/test.a94a8fe5/qt.headers "-IC:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/INCLUDE" -o C:/Development/trash/build-test-MSVC_Conan_5_15_0-Debug/Debug_MSVC_Con_fae9567b4444f9d6/test.a94a8fe5/qt.headers/moc_test.cpp C:/Development/trash/test/test.h C:/.conan/b7c21d/1/include/boost/mpl/bitand.hpp(24): Parse error at "("
It's a regression from 1.17.1