Bug ID 1158195
Summary GCC 10: p7zip build fails
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter martin.liska@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Fails due to:
[    9s] ../../../../CPP/Windows/ErrorMsg.cpp: In function 'UString
NWindows::NError::MyFormatMessage(DWORD)':
[    9s] ../../../../CPP/Common/MyWindows.h:83:40: error: narrowing conversion
of '-2147467263' from 'LONG' {aka 'int'} to 'unsigned int' [-Wnarrowing]
[    9s]    83 | #define E_NOTIMPL ((HRESULT)0x80004001L)
[    9s]       |                                        ^
[    9s] ../../../../CPP/Windows/ErrorMsg.cpp:18:10: note: in expansion of
macro 'E_NOTIMPL'
[    9s]    18 |     case E_NOTIMPL             : txt = "E_NOTIMPL"; break ;
[    9s]       |          ^~~~~~~~~
[    9s] ../../../../CPP/Common/MyWindows.h:84:44: error: narrowing conversion
of '-2147467262' from 'LONG' {aka 'int'} to 'unsigned int' [-Wnarrowing]
[    9s]    84 | #define E_NOINTERFACE ((HRESULT)0x80004002L)
[    9s]       |                                            ^
[    9s] ../../../../CPP/Windows/ErrorMsg.cpp:19:10: note: in expansion of
macro 'E_NOINTERFACE'
[    9s]    19 |     case E_NOINTERFACE         : txt = "E_NOINTERFACE"; break
;
[    9s]       |          ^~~~~~~~~~~~~
[    9s] ../../../../CPP/Common/MyWindows.h:85:38: error: narrowing conversion
of '-2147467260' from 'LONG' {aka 'int'} to 'unsigned int' [-Wnarrowing]
[    9s]    85 | #define E_ABORT ((HRESULT)0x80004004L)
[    9s]       |                                      ^
[    9s] ../../../../CPP/Windows/ErrorMsg.cpp:20:10: note: in expansion of
macro 'E_ABORT'
[    9s]    20 |     case E_ABORT               : txt = "E_ABORT"; break ;
[    9s]       |          ^~~~~~~
[    9s] ../../../../CPP/Common/MyWindows.h:86:37: error: narrowing conversion
of '-2147467259' from 'LONG' {aka 'int'} to 'unsigned int' [-Wnarrowing]
[    9s]    86 | #define E_FAIL ((HRESULT)0x80004005L)
[    9s]       |                                     ^
[    9s] ../../../../CPP/Windows/ErrorMsg.cpp:21:10: note: in expansion of
macro 'E_FAIL'
[    9s]    21 |     case E_FAIL                : txt = "E_FAIL"; break ;
[    9s]       |          ^~~~~~
[    9s] ../../../../CPP/Common/MyWindows.h:87:52: error: narrowing conversion
of '-2147287039' from 'LONG' {aka 'int'} to 'unsigned int' [-Wnarrowing]
[    9s]    87 | #define STG_E_INVALIDFUNCTION ((HRESULT)0x80030001L)


You are receiving this mail because: