Compile failure.

• Jun 17, 2014 - 19:45

My Windows build fails partway through. I cannot view the entire error message as it's several pages long and scrolls off very quickly, but it's failing in MOC_SCORE.CPP.
---
[ 25%] Built target fluid
mingw32-make[3]: Entering directory 'D:/MS_TRUNK/build.release'
mingw32-make[3]: Leaving directory 'D:/MS_TRUNK/build.release'
mingw32-make[3]: Entering directory 'D:/MS_TRUNK/build.release'
[ 25%] Building CXX object libmscore/CMakeFiles/libmscore.dir/moc_score.cpp.obj
libmscore\CMakeFiles\libmscore.dir\build.make:1831: recipe for target 'libmscore/CMakeFiles/libmscore.dir/moc_score.cpp.obj' failed
mingw32-make[3]: Leaving directory 'D:/MS_TRUNK/build.release'
CMakeFiles\Makefile2:656: recipe for target 'libmscore/CMakeFiles/libmscore.dir/all' failed
mingw32-make[2]: Leaving directory 'D:/MS_TRUNK/build.release'
Makefile:135: recipe for target 'all' failed
mingw32-make[1]: Leaving directory 'D:/MS_TRUNK/build.release'
makefile.mingw:27: recipe for target 'release' failed
---

I see the nightly builds are not updated since yesterday (June 16) either.

The final part of the error is
---
Q_DECL_CONSTEXPR inline QIncompatibleFlag operator|(Flags::enum_type f1, int f2) \
^
D:\MS_TRUNK\build.release\libmscore\../../libmscore/score.h:976:1: note: in expansion of macro 'Q_DECLARE_OPERATORS_FOR_FLAGS' Q_DECLARE_OPERATORS_FOR_FLAGS(LayoutFlags);
^
D:/qt530/5.3/mingw482_32/include/QtCore/qflags.h:140:74: error: expected primary-expression before 'int' Q_DECL_CONSTEXPR inline QIncompatibleFlag operator|(Flags::enum_type f1, int f2) \
^
D:/qt530/5.3/mingw482_32/include/QtCore/qflags.h:147:21: note: in expansion of macro 'Q_DECLARE_INCOMPATIBLE_FLAGS' { return f2 | f1; } Q_DECLARE_INCOMPATIBLE_FLAGS(Flags)
^
D:\MS_TRUNK\build.release\libmscore\../../libmscore/score.h:976:1: note: in expansion of macro 'Q_DECLARE_OPERATORS_FOR_FLAGS' Q_DECLARE_OPERATORS_FOR_FLAGS(LayoutFlags);
^
In file included from D:\MS_TRUNK\build.release\libmscore\moc_score.cpp:9:0:D:\MS_TRUNK\build.release\libmscore\../../libmscore/score.h:978:1: error: expected declaration before '}' token } // namespace Ms
^
---


Comments

Do you still have an unanswered question? Please log in first to post your question.