]> git.ipfire.org Git - thirdparty/elfutils.git/commit
Explicitly qualify specializations of elfutils::to_string dwarflint
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 23 Feb 2018 14:54:02 +0000 (09:54 -0500)
committerMark Wielaard <mark@klomp.org>
Mon, 26 Feb 2018 17:46:20 +0000 (18:46 +0100)
commit9f9c613bb6d672d331ce62a3f69ca9f2d115690d
treeea3129080d99ca810a50d3cac10035ccb1676f36
parenta5d5f65d9a493ae17ccaca89d927875ece7eac69
Explicitly qualify specializations of elfutils::to_string

I attempted to build the "dwarflint" branch with gcc 7.3.1 , but ran
into various problems of the form:

c++/known.cc:220:1: error: explicit specialization of ‘template<class type> std::__cxx11::string elfutils::to_string(const type&)’ outside its namespace must use a nested-name-specifier [-fpermissive]
 to_string<dwarf::dwarf_enum> (const dwarf::dwarf_enum &value)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

The fix appears to be trivial.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
libdw/ChangeLog
libdw/c++/edit-values.cc
libdw/c++/known.cc
libdw/c++/output-values.cc
libdw/c++/values.cc