Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2019 18:19:27 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r344852 - head/contrib/llvm/tools/lldb/include/lldb/Target
Message-ID:  <201903061819.x26IJRca003227@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Wed Mar  6 18:19:27 2019
New Revision: 344852
URL: https://svnweb.freebsd.org/changeset/base/344852

Log:
  Put in a temporary workaround for what is likely a gcc 6 bug (it does
  not occur with gcc 7 or later).  This should prevent the following error
  from breaking the head-amd64-gcc CI builds:
  
  In file included from /workspace/src/contrib/llvm/tools/lldb/source/API/SBMemoryRegionInfo.cpp:14:0:
  /workspace/src/contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h:128:54: error: 'template<class _InputIterator> lldb_private::MemoryRegionInfos::MemoryRegionInfos(_InputIterator, _InputIterator, const allocator_type&)' inherited from 'std::__1::vector<lldb_private::MemoryRegionInfo>'
     using std::vector<lldb_private::MemoryRegionInfo>::vector;
                                                        ^~~~~~
  /workspace/src/contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h:128:54: error: conflicts with version inherited from 'std::__1::vector<lldb_private::MemoryRegionInfo>'
  
  Reported by:	CI

Modified:
  head/contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h

Modified: head/contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h	Wed Mar  6 17:41:12 2019	(r344851)
+++ head/contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h	Wed Mar  6 18:19:27 2019	(r344852)
@@ -125,7 +125,7 @@ inline bool operator<(lldb::addr_t lhs, const MemoryRe
 // Forward-declarable wrapper.
 class MemoryRegionInfos : public std::vector<lldb_private::MemoryRegionInfo> {
 public:
-  using std::vector<lldb_private::MemoryRegionInfo>::vector;
+  //using std::vector<lldb_private::MemoryRegionInfo>::vector;
 };
 
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903061819.x26IJRca003227>