[umbrello-devel] [umbrello] [Bug 351525] New: Build failure
Christoph Feck
cfeck at kde.org
Thu Aug 20 14:36:45 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=351525
Bug ID: 351525
Summary: Build failure
Product: umbrello
Version: Git
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: umbrello-devel at kde.org
Reporter: cfeck at kde.org
Trying to build the master branch with -DBUILD_KF5=ON I get this error:
In file included from /local/qt5/include/QtTest/qtest.h:38:0,
from /local/qt5/include/QtTest/QtTest:7,
from /local/git/KDE/sdk/umbrello/unittests/testbase.h:26,
from
/local/git/KDE/sdk/umbrello/unittests/TEST_cppwriter.h:24,
from
/local/git/KDE/sdk/umbrello/unittests/TEST_cppwriter.cpp:21:
/local/qt5/include/QtTest/qtestcase.h: In instantiation of 'bool
QTest::qCompare(const T&, const T&, const char*, const char*, const char*, int)
[with T = Uml::ProgrammingLanguage::Enum]':
/local/git/KDE/sdk/umbrello/unittests/TEST_cppwriter.cpp:44:5: required from
here
/local/qt5/include/QtTest/qtestcase.h:320:87: error: cannot convert 'QString'
to 'char*' for argument '3' to 'bool QTest::compare_helper(bool, const char*,
char*, char*, const char*, const char*, const char*, int)'
toString(t1), toString(t2), actual, expected,
file, line);
^
make[2]: *** [unittests/CMakeFiles/TEST_cppwriter.dir/TEST_cppwriter.cpp.o]
Error 1
make[2]: Target `unittests/CMakeFiles/TEST_cppwriter.dir/build' not remade
because of errors.
make[1]: *** [unittests/CMakeFiles/TEST_cppwriter.dir/all] Error 2
/local/git/KDE/sdk/umbrello/unittests/TEST_pythonwriter.cpp: In member function
'void TEST_pythonwriter::test_writeClass()':
/local/git/KDE/sdk/umbrello/unittests/TEST_pythonwriter.cpp:51:19: warning:
variable 'attr' set but not used [-Wunused-but-set-variable]
UMLAttribute* attr;
^
In file included from /local/qt5/include/QtTest/qtest.h:38:0,
from /local/qt5/include/QtTest/QtTest:7,
from /local/git/KDE/sdk/umbrello/unittests/testbase.h:26,
from
/local/git/KDE/sdk/umbrello/unittests/TEST_pythonwriter.h:24,
from
/local/git/KDE/sdk/umbrello/unittests/TEST_pythonwriter.cpp:21:
/local/qt5/include/QtTest/qtestcase.h: In instantiation of 'bool
QTest::qCompare(const T&, const T&, const char*, const char*, const char*, int)
[with T = Uml::ProgrammingLanguage::Enum]':
/local/git/KDE/sdk/umbrello/unittests/TEST_pythonwriter.cpp:44:5: required
from here
/local/qt5/include/QtTest/qtestcase.h:320:87: error: cannot convert 'QString'
to 'char*' for argument '3' to 'bool QTest::compare_helper(bool, const char*,
char*, char*, const char*, const char*, const char*, int)'
toString(t1), toString(t2), actual, expected,
file, line);
^
make[2]: ***
[unittests/CMakeFiles/TEST_pythonwriter.dir/TEST_pythonwriter.cpp.o] Error 1
make[2]: Target `unittests/CMakeFiles/TEST_pythonwriter.dir/build' not remade
because of errors.
make[1]: *** [unittests/CMakeFiles/TEST_pythonwriter.dir/all] Error 2
In file included from /local/qt5/include/QtTest/qtest.h:38:0,
from /local/qt5/include/QtTest/QtTest:7,
from /local/git/KDE/sdk/umbrello/unittests/testbase.h:26,
from
/local/git/KDE/sdk/umbrello/unittests/TEST_umlobject.h:24,
from
/local/git/KDE/sdk/umbrello/unittests/TEST_umlobject.cpp:21:
/local/qt5/include/QtTest/qtestcase.h: In instantiation of 'bool
QTest::qCompare(const T&, const T&, const char*, const char*, const char*, int)
[with T = Uml::Visibility::Enum]':
/local/git/KDE/sdk/umbrello/unittests/TEST_umlobject.cpp:203:5: required from
here
/local/qt5/include/QtTest/qtestcase.h:320:87: error: cannot convert 'QString'
to 'char*' for argument '3' to 'bool QTest::compare_helper(bool, const char*,
char*, char*, const char*, const char*, const char*, int)'
toString(t1), toString(t2), actual, expected,
file, line);
^
make[2]: *** [unittests/CMakeFiles/TEST_umlobject.dir/TEST_umlobject.cpp.o]
Error 1
make[2]: Target `unittests/CMakeFiles/TEST_umlobject.dir/build' not remade
because of errors.
make[1]: *** [unittests/CMakeFiles/TEST_umlobject.dir/all] Error 2
make[1]: Target `all' not remade because of errors.
make: *** [all] Error 2
make: Target `default_target' not remade because of errors.
-- Failed: umbrello
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list