OSX/CI: kdevelop fails to build on branch master
Marko Käning
mk-lists at email.de
Sat Dec 13 18:53:37 GMT 2014
Hi Nicolai,
On 13 Dec 2014, at 19:44 , Nicolai Hähnle-Montoro <nhaehnle at gmail.com> wrote:
> try with current master of kdevelop (4750...) please. That should fix
> your problem.
yep, that’s a bit better, but 2 of 5 errors are still left:
---
[ 42%] [ 42%] Building CXX object debuggers/gdb/CMakeFiles/kdevgdb.dir/mi/milexer.cpp.o
In file included from /Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/disassemblewidget.cpp:25:
In file included from /Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/disassemblewidget.h:36:
/Users/marko/WC/KDECI-builds/kdevelop/build/debuggers/gdb/ui_selectaddress.h:50:19: warning: 'setUrlDropsEnabled' is deprecated [-Wdeprecated-declarations]
comboBox->setUrlDropsEnabled(false);
^
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kcompletion/inst/include/KF5/KCompletion/kcombobox.h:317:33: note: 'setUrlDropsEnabled' has been explicitly marked deprecated here
KCOMPLETION_DEPRECATED void setUrlDropsEnabled(bool enable);
^
In file included from /Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/disassemblewidget.cpp:25:
/Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/disassemblewidget.h:53:32: warning: 'KDialog' is deprecated [-Wdeprecated-declarations]
class SelectAddrDialog: public KDialog
^
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kdelibs4support/inst/include/KF5/KDELibs4Support/kdialog.h:128:41: note: 'KDialog' has been explicitly marked deprecated here
class KDELIBS4SUPPORT_DEPRECATED_EXPORT KDialog : public QDialog //krazy:exclude=qclasses
^
Building CXX object debuggers/gdb/CMakeFiles/test_gdb.dir/stty.cpp.o
Scanning dependencies of target qchar
[ 42%] Building CXX object debuggers/gdb/printers/tests/CMakeFiles/qchar.dir/qchar.cpp.o
[ 42%] [ 42%] Building CXX object debuggers/gdb/CMakeFiles/test_gdb.dir/disassemblewidget.cpp.o
Building CXX object debuggers/gdb/CMakeFiles/test_gdb.dir/gdboutputwidget.cpp.o
[ 42%] Building CXX object debuggers/gdb/printers/tests/CMakeFiles/qchar.dir/qchar_automoc.cpp.o
Linking CXX executable qchar.app/Contents/MacOS/qchar
[ 42%] Built target qchar
[ 43%] Building CXX object debuggers/gdb/CMakeFiles/test_gdb.dir/breakpointcontroller.cpp.o
Scanning dependencies of target qdate
[ 43%] Building CXX object debuggers/gdb/printers/tests/CMakeFiles/qdate.dir/qdate.cpp.o
2 warnings generated.
[ 43%] [ 43%] Building CXX object debuggers/gdb/CMakeFiles/kdevgdb.dir/mi/miparser.cpp.o
Building CXX object debuggers/gdb/CMakeFiles/test_gdb.dir/mi/gdbmi.cpp.o
In file included from /Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/disassemblewidget.cpp:25:
In file included from /Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/disassemblewidget.h:36:
/Users/marko/WC/KDECI-builds/kdevelop/build/debuggers/gdb/ui_selectaddress.h:50:19: warning: 'setUrlDropsEnabled' is deprecated [-Wdeprecated-declarations]
comboBox->setUrlDropsEnabled(false);
^
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kcompletion/inst/include/KF5/KCompletion/kcombobox.h:317:33: note: 'setUrlDropsEnabled' has been explicitly marked deprecated here
KCOMPLETION_DEPRECATED void setUrlDropsEnabled(bool enable);
^
In file included from /Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/disassemblewidget.cpp:25:
/Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/disassemblewidget.h:53:32: warning: 'KDialog' is deprecated [-Wdeprecated-declarations]
class SelectAddrDialog: public KDialog
^
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kdelibs4support/inst/include/KF5/KDELibs4Support/kdialog.h:128:41: note: 'KDialog' has been explicitly marked deprecated here
class KDELIBS4SUPPORT_DEPRECATED_EXPORT KDialog : public QDialog //krazy:exclude=qclasses
^
[ 44%] Building CXX object debuggers/gdb/printers/tests/CMakeFiles/qdate.dir/qdate_automoc.cpp.o
Scanning dependencies of target qdatetime
/Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/mi/miparser.cpp:135:5: error: no viable conversion from 'bool' to 'std::unique_ptr<Record>'
MATCH(Token_string_literal);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/mi/miparser.cpp:30:18: note: expanded from macro 'MATCH'
return false; \
^~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2454:29: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'bool' to 'const std::__1::unique_ptr<GDBMI::Record, std::__1::default_delete<GDBMI::Record> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY unique_ptr
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2483:49: note: candidate constructor not viable: no known conversion from 'bool' to 'nullptr_t' for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2510:31: note: candidate constructor not viable: no known conversion from 'bool' to 'std::__1::unique_ptr<GDBMI::Record, std::__1::default_delete<GDBMI::Record> > &&' for 1st argument
_LIBCPP_INLINE_VISIBILITY unique_ptr(unique_ptr&& __u) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2514:9: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'bool'
unique_ptr(unique_ptr<_Up, _Ep>&& __u,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2529:35: note: candidate template ignored: could not match 'auto_ptr<type-parameter-0-0>' against 'bool'
_LIBCPP_INLINE_VISIBILITY unique_ptr(auto_ptr<_Up>&& __p,
^
/Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/mi/miparser.cpp:146:5: error: no viable conversion from 'bool' to 'std::unique_ptr<Record>'
MATCH(Token_identifier);
^~~~~~~~~~~~~~~~~~~~~~~
/Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/mi/miparser.cpp:30:18: note: expanded from macro 'MATCH'
return false; \
^~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2454:29: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'bool' to 'const std::__1::unique_ptr<GDBMI::Record, std::__1::default_delete<GDBMI::Record> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY unique_ptr
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2483:49: note: candidate constructor not viable: no known conversion from 'bool' to 'nullptr_t' for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2510:31: note: candidate constructor not viable: no known conversion from 'bool' to 'std::__1::unique_ptr<GDBMI::Record, std::__1::default_delete<GDBMI::Record> > &&' for 1st argument
_LIBCPP_INLINE_VISIBILITY unique_ptr(unique_ptr&& __u) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2514:9: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'bool'
unique_ptr(unique_ptr<_Up, _Ep>&& __u,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2529:35: note: candidate template ignored: could not match 'auto_ptr<type-parameter-0-0>' against 'bool'
_LIBCPP_INLINE_VISIBILITY unique_ptr(auto_ptr<_Up>&& __p,
^
[ 44%] 2 errors generated.
[ 44%] make[2]: *** [debuggers/gdb/CMakeFiles/kdevgdb.dir/mi/miparser.cpp.o] Error 1
make[1]: *** [debuggers/gdb/CMakeFiles/kdevgdb.dir/all] Error 2
---
> I'm a bit surprised that this compiled with g++ in the first place…
Weird, yes, good to use more than one compiler for testing. :)
Thanks for taking care of this!
Greets,
Marko
More information about the KDevelop
mailing list