Bug 1181880

Summary: GCC 11: p7zip package fails
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Kristyna Streitova <kstreitova>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: chcao
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1181859    

Description Martin Liška 2021-02-06 11:21:38 UTC
Fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/p7zip/standard/x86_64

due to:
[   60s] ../../../../CPP/7zip/Archive/Wim/WimHandler.cpp: In member function 'virtual LONG NArchive::NWim::CHandler::GetArchiveProperty(PROPID, PROPVARIANT*)':
[   60s] ../../../../CPP/7zip/Archive/Wim/WimHandler.cpp:308:11: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
[   60s]   308 |           numMethods++;
[   60s]       |           ^~~~~~~~~~
[   60s] ../../../../CPP/7zip/Archive/Wim/WimHandler.cpp:318:9: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
[   60s]   318 |         numMethods++;
[   60s]       |         ^~~~~~~~~~
Comment 1 Martin Liška 2021-02-26 13:58:58 UTC
May I please ping this?
Comment 2 Christophe Marin 2021-03-15 09:42:48 UTC
https://build.opensuse.org/request/show/879126
Comment 3 Christophe Marin 2021-03-22 07:58:21 UTC
Fixed in devel project