[lldb-dev] [Bug 22817] New: error: looser throw specifier for ‘virtual lldb_private?=::JSONNumber::~JSONNumber()=?UTF-8?Q?’ while compiling lldb

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 5 22:45:30 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22817

            Bug ID: 22817
           Summary: error: looser throw specifier for ‘virtual
                    lldb_private::JSONNumber::~JSONNumber()’ while
                    compiling lldb
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: andreas at fink.org
    Classification: Unclassified

check out from svn llvm clang lldb compiler-rt extra

cmake ../llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=all

make

results in:

[ 80%] Built target clang-tidy
[ 80%] Built target clangQuery
[ 80%] Built target clang-query
[ 80%] Built target pp-trace
[ 80%] Built target tool-template
[ 80%] Building CXX object
tools/lldb/source/Utility/CMakeFiles/lldbUtility.dir/JSON.cpp.o
In file included from
/Users/afink/development/svn/llvm/tools/lldb/source/Utility/JSON.cpp:10:0:
/Users/afink/development/svn/llvm/tools/lldb/include/lldb/Utility/JSON.h:86:9:
error: looser throw specifier for ‘virtual
lldb_private::JSONString::~JSONString()’
/Users/afink/development/svn/llvm/tools/lldb/include/lldb/Utility/JSON.h:55:9:
error:   overriding ‘virtual lldb_private::JSONValue::~JSONValue() noexcept
(true)’
/Users/afink/development/svn/llvm/tools/lldb/include/lldb/Utility/JSON.h:120:9:
error: looser throw specifier for ‘virtual
lldb_private::JSONNumber::~JSONNumber()’
/Users/afink/development/svn/llvm/tools/lldb/include/lldb/Utility/JSON.h:55:9:
error:   overriding ‘virtual lldb_private::JSONValue::~JSONValue() noexcept
(true)’
/Users/afink/development/svn/llvm/tools/lldb/include/lldb/Utility/JSON.h:146:9:
error: looser throw specifier for ‘virtual lldb_private::JSONTrue::~JSONTrue()’
/Users/afink/development/svn/llvm/tools/lldb/include/lldb/Utility/JSON.h:55:9:
error:   overriding ‘virtual lldb_private::JSONValue::~JSONValue() noexcept
(true)’
/Users/afink/development/svn/llvm/tools/lldb/include/lldb/Utility/JSON.h:169:9:
error: looser throw specifier for ‘virtual
lldb_private::JSONFalse::~JSONFalse()’
/Users/afink/development/svn/llvm/tools/lldb/include/lldb/Utility/JSON.h:55:9:
error:   overriding ‘virtual lldb_private::JSONValue::~JSONValue() noexcept
(true)’
/Users/afink/development/svn/llvm/tools/lldb/include/lldb/Utility/JSON.h:192:9:
error: looser throw specifier for ‘virtual lldb_private::JSONNull::~JSONNull()’
/Users/afink/development/svn/llvm/tools/lldb/include/lldb/Utility/JSON.h:55:9:
error:   overriding ‘virtual lldb_private::JSONValue::~JSONValue() noexcept
(true)’
/Users/afink/development/svn/llvm/tools/lldb/include/lldb/Utility/JSON.h:222:9:
error: looser throw specifier for ‘virtual
lldb_private::JSONObject::~JSONObject()’
/Users/afink/development/svn/llvm/tools/lldb/include/lldb/Utility/JSON.h:55:9:
error:   overriding ‘virtual lldb_private::JSONValue::~JSONValue() noexcept
(true)’
/Users/afink/development/svn/llvm/tools/lldb/include/lldb/Utility/JSON.h:270:9:
error: looser throw specifier for ‘virtual
lldb_private::JSONArray::~JSONArray()’
/Users/afink/development/svn/llvm/tools/lldb/include/lldb/Utility/JSON.h:55:9:
error:   overriding ‘virtual lldb_private::JSONValue::~JSONValue() noexcept
(true)’
cc1plus: warning: unrecognized command line option "-Wno-deprecated-register"
[enabled by default]
make[2]: *** [tools/lldb/source/Utility/CMakeFiles/lldbUtility.dir/JSON.cpp.o]
Error 1
make[1]: *** [tools/lldb/source/Utility/CMakeFiles/lldbUtility.dir/all] Error 2
make: *** [all] Error 2

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150306/d5c0ca00/attachment.html>


More information about the lldb-dev mailing list