Summary: | app-arch/p7zip-9.13 “DynamicBuffer.h:20:5: error: ‘SetCapacity’ was not declared in this scope” with gcc-4.7.2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nathan Phillip Brink (binki) (RETIRED) <binki> |
Component: | Current packages | Assignee: | Justin Lecher (RETIRED) <jlec> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 390247 | ||
Attachments: |
p7zip-9.13-build.log
emerge--info.txt |
Created attachment 346896 [details]
emerge--info.txt
This is a dublicate of bug 437890 (In reply to comment #2) > This is a dublicate of bug 437890 But p7zip-9.20* isn’t stable yet… I think some sort of bug should be open until a stable p7zip supports gcc-4.7(?) (In reply to comment #3) > (In reply to comment #2) > > This is a dublicate of bug 437890 > > But p7zip-9.20* isn’t stable yet… I think some sort of bug should be open > until a stable p7zip supports gcc-4.7(?) gcc-4.7 isn't stable either. We have the gcc-4.7 tracker bug for knowing which packages need to be stabilized before gcc-4.7 can go stable. *** This bug has been marked as a duplicate of bug 437890 *** |
Created attachment 346894 [details] p7zip-9.13-build.log x86_64-pc-linux-gnu-g++ -m64 -O2 -pipe -fno-strict-aliasing -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_NO_CRYPTO -D_NO_CRYPTO -DBREAK_HANDLER -DUNICODE -D_UNICODE -c -I. -I../../../myWindows -I../../../ -I../../../include_windows ../../Common/StreamObjects.cpp In file included from ../../Common/StreamObjects.h:6:0, from ../../Common/StreamObjects.cpp:5: ../../Common/../../Common/DynamicBuffer.h: In instantiation of ‘void CDynamicBuffer<T>::GrowLength(size_t) [with T = unsigned char; size_t = long unsigned int]’: ../../Common/../../Common/DynamicBuffer.h:39:7: required from ‘void CDynamicBuffer<T>::EnsureCapacity(size_t) [with T = unsigned char; size_t = long unsigned int]’ ../../Common/StreamObjects.cpp:41:37: required from here ../../Common/../../Common/DynamicBuffer.h:20:5: error: ‘SetCapacity’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] ../../Common/../../Common/DynamicBuffer.h:20:5: note: declarations in dependent base ‘CBuffer<unsigned char>’ are not found by unqualified lookup ../../Common/../../Common/DynamicBuffer.h:20:5: note: use ‘this->SetCapacity’ instead make[1]: *** [StreamObjects.o] Error 1 x86_64-pc-linux-gnu-g++ -m64 -O2 -pipe -fno-strict-aliasing -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -DBREAK_HANDLER -DUNICODE -D_UNICODE -c -I. -I../../../myWindows -I../../../ -I../../../include_windows ../../Common/LimitedStreams.cpp make[1]: *** Waiting for unfinished jobs.... sam ~ # gcc --version gcc (Gentoo Hardened 4.7.2-r1 p1.6, pie-0.5.5) 4.7.2 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Tested to compile fine with gcc-4.6.3; this is a gcc-4.7 increased strictness break.