Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
5.15.2
-
None
Description
At least with Qt 5.15.2, moc seems to fail parsing Boost's BOOST_PP_SEQ_ENUM macro in errors like:
AutoMoc subprocess error
------------------------
The moc process failed to compile
"SRC:.../simulation_data_model.h"
into
"SRC:.../moc_simulation_data_model.cpp"Command
-------
moc.exe -DBOOST_ALL_NO_LIB -DBOOST_LOCALE_HIDE_AUTO_PTR...Output
------
:/.../result_data.(15): Parse error at "BOOST_PP_SEQ_ENUM_0"
This happens on Windows 10, compiling with CMake + MSVC 2019, but works ok on Linux, compiling with CMake + GCC 10. Also, that exact same code use to compile just fine with Qt 5.13.1, which may indicate a regression.