OSX/CI: kdevelop fails to build on branch master

Marko Käning mk-lists at email.de
Sat Dec 13 13:24:55 GMT 2014


Hi devs,

I ran into build errors on OSX for kdevelop using Apple’s clang!

Greets,
Marko

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevelop.log.gz
Type: application/x-gzip
Size: 11516 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20141213/ff7f9e1a/attachment.bin>
-------------- next part --------------


---

[ 45%] Building CXX object debuggers/gdb/printers/tests/CMakeFiles/qdate.dir/qdate.cpp.o
Linking CXX executable qchar.app/Contents/MacOS/qchar
/Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/mi/miparser.cpp:97:5: error: no viable conversion from 'bool' to 'std::unique_ptr<Record>'
   ADVANCE('(');
   ^~~~~~~~~~~~
/Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/mi/miparser.cpp:35:7: note: expanded from macro 'ADVANCE'
     MATCH(tok); \
     ^~~~~~~~~~
/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:98: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,
                                 ^
/Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/mi/miparser.cpp:102:5: error: no viable conversion from 'bool' to 'std::unique_ptr<Record>'
   ADVANCE(')');
   ^~~~~~~~~~~~
/Users/marko/WC/KDECI-builds/kdevelop/debuggers/gdb/mi/miparser.cpp:35:7: note: expanded from macro 'ADVANCE'
     MATCH(tok); \
     ^~~~~~~~~~
/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:123: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'
       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:134: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,
                                 ^
5 errors generated.
make[2]: *** [debuggers/gdb/CMakeFiles/kdevgdb.dir/mi/miparser.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....




More information about the KDevelop mailing list