https://bugs.llvm.org/show_bug.cgi?id=44791

            Bug ID: 44791
           Summary: LLDB 10.x (and current master) fails to build with GCC
                    5.4
           Product: lldb
           Version: 10.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev@lists.llvm.org
          Reporter: mar...@martin.st
                CC: apra...@apple.com, h...@chromium.org,
                    jdevliegh...@apple.com, lab...@google.com,
                    llvm-b...@lists.llvm.org
            Blocks: 44555

Building the current master with GCC 5.4 (on Ubuntu 16.04) fails like this:

../tools/lldb/source/DataFormatters/LanguageCategory.cpp:71:68: error:
specialization of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' in different namespace
[-fpermissive]
 auto &LanguageCategory::GetHardcodedFinder<lldb::TypeFormatImplSP>() {
                                                                    ^
In file included from
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:9:0:
../tools/lldb/include/lldb/DataFormatters/LanguageCategory.h:52:9: error:  
from definition of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' [-fpermissive]
   auto &GetHardcodedFinder();
         ^
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:76:69: error:
specialization of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' in different namespace
[-fpermissive]
 auto &LanguageCategory::GetHardcodedFinder<lldb::TypeSummaryImplSP>() {
                                                                     ^
In file included from
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:9:0:
../tools/lldb/include/lldb/DataFormatters/LanguageCategory.h:52:9: error:  
from definition of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' [-fpermissive]
   auto &GetHardcodedFinder();
         ^
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:81:71: error:
specialization of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' in different namespace
[-fpermissive]
 auto &LanguageCategory::GetHardcodedFinder<lldb::SyntheticChildrenSP>() {
                                                                       ^
In file included from
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:9:0:
../tools/lldb/include/lldb/DataFormatters/LanguageCategory.h:52:9: error:  
from definition of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' [-fpermissive]
   auto &GetHardcodedFinder();
         ^


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=44555
[Bug 44555] [meta] 10.0.0 Release Blockers
-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to