]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Put in a temporary workaround for what is likely a gcc 6 bug (it does
authordim <dim@FreeBSD.org>
Wed, 6 Mar 2019 18:19:27 +0000 (18:19 +0000)
committerdim <dim@FreeBSD.org>
Wed, 6 Mar 2019 18:19:27 +0000 (18:19 +0000)
commit83c7a209fad7529c9d4e32ceda3e6ec5ad5a076c
treec6acc829c94dbe44ccf6167b0e038a867c878fea
parentbbec845414c82232b2b8379a82d239871997c5ec
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
contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h