Snippets for advancecomp 2.6 from Fedora ppc64le
Sourced from https://kojipkgs.fedoraproject.org/packages/advancecomp/2.6/19.fc45/data/logs/ppc64le/build.log.
-
7z/WindowIn.h:69:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 69 | if(m_StreamEndWasReached) | ^~ -
7z/7zdeflate.cc:51:36: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 51 | if (out.size_get() != out_size || out.overflow_get()) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ -
7z/LZMA.h:46:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 46 | for(int i = 0 ; i < kNumRepDistances; i++) | ~~^~~~~~~~~~~~~~~~~~ -
7z/7zlzma.cc:61:36: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 61 | if (out.size_get() != out_size || out.overflow_get()) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ -
7z/InByte.h:12:7: warning: ‘NStream::CInByte::m_BufferSize’ will be initialized after [-Wreorder] 12 | INT m_BufferSize; | ^~~~~~~~~~~~ -
7z/InByte.h:11:9: warning: ‘BYTE* NStream::CInByte::m_BufferBase’ [-Wreorder] 11 | BYTE *m_BufferBase; | ^~~~~~~~~~~~ -
7z/InByte.cc:5:1: warning: when initialized here [-Wreorder] 5 | CInByte::CInByte(INT aBufferSize): | ^~~~~~~ -
7z/DeflateDecoder.cc:90:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 90 | for (i = 0; i < kStaticDistTableSize; i++) // test it: infozip only use kDistTableSize | ~~^~~~~~~~~~~~~~~~~~~~~~ -
7z/DeflateDecoder.cc:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 107 | for (i = 0; i < kLevelTableSize; i++) | ~~^~~~~~~~~~~~~~~~~ -
7z/DeflateDecoder.cc:102:15: warning: variable ‘aNumLevels’ set but not used [-Wunused-but-set-variable=] 102 | int aNumLevels; | ^~~~~~~~~~ -
7z/HuffmanDecoder.h:89:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 89 | if(i <= kValueTableBits) | ~~^~~~~~~~~~~~~~~~~~ -
repng.cc:493:23: warning: catching polymorphic type ‘class std::bad_alloc’ by value [-Wcatch-value=] 493 | } catch (std::bad_alloc) { | ^~~~~~~~~ -
rezip.cc:547:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 547 | if (cmd != cmd_unset) | ^~ -
rezip.cc:627:23: warning: catching polymorphic type ‘class std::bad_alloc’ by value [-Wcatch-value=] 627 | } catch (std::bad_alloc) { | ^~~~~~~~~ -
7z/BinTreeMain.h:69:27: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 69 | if (m_BlockSize + 256 > kMaxValForNormalize) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -
7z/BinTreeMain.h:160:29: warning: comparison of integer expressions of different signedness: ‘UINT32’ {aka ‘unsigned int’} and ‘INT’ {aka ‘int’} [-Wsign-compare] 160 | if (m_Pos + m_MatchMaxLen <= m_StreamPos) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -
7z/BinTreeMain.h:169:32: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘UINT32’ {aka ‘unsigned int’} [-Wsign-compare] 169 | UINT32 aMatchMinPos = (m_Pos > m_HistorySize) ? (m_Pos - m_HistorySize) : 1; | ~~~~~~^~~~~~~~~~~~~~~ -
7z/BinTreeMain.h:364:29: warning: comparison of integer expressions of different signedness: ‘UINT32’ {aka ‘unsigned int’} and ‘INT’ {aka ‘int’} [-Wsign-compare] 364 | if (m_Pos + m_MatchMaxLen <= m_StreamPos) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -
7z/BinTreeMain.h:372:32: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘UINT32’ {aka ‘unsigned int’} [-Wsign-compare] 372 | UINT32 aMatchMinPos = (m_Pos > m_HistorySize) ? (m_Pos - m_HistorySize) : 1; | ~~~~~~^~~~~~~~~~~~~~~ -
7z/BinTreeMain.h:400:10: warning: variable ‘aMax’ set but not used [-Wunused-but-set-variable=] 400 | UINT32 aMax, aMinSameLeft, aMinSameRight, aMinSame; | ^~~~ -
7z/BinTreeMain.h:476:16: warning: comparison of integer expressions of different signedness: ‘UINT32’ {aka ‘unsigned int’} and ‘INT32’ {aka ‘int’} [-Wsign-compare] 476 | if (aValue <= aSubValue) | ~~~~~~~^~~~~~~~~~~~ -
7z/DeflateEncoder.h:86:7: warning: ‘NDeflate::NEncoder::CCoder::m_NumPasses’ will be initialized after [-Wreorder] 86 | int m_NumPasses; | ^~~~~~~~~~~ -
7z/DeflateEncoder.h:72:10: warning: ‘UINT32 NDeflate::NEncoder::CCoder::m_NumFastBytes’ [-Wreorder] 72 | UINT32 m_NumFastBytes; | ^~~~~~~~~~~~~~ -
7z/DeflateEncoder.cc:68:1: warning: when initialized here [-Wreorder] 68 | CCoder::CCoder(): | ^~~~~~ -
7z/DeflateEncoder.h:83:11: warning: ‘NDeflate::NEncoder::CCoder::m_OnePosMatchesMemory’ will be initialized after [-Wreorder] 83 | UINT16 *m_OnePosMatchesMemory; | ^~~~~~~~~~~~~~~~~~~~~ -
7z/DeflateEncoder.h:82:19: warning: ‘NDeflate::NEncoder::COnePosMatches* NDeflate::NEncoder::CCoder::m_OnePosMatchesArray’ [-Wreorder] 82 | COnePosMatches *m_OnePosMatchesArray; | ^~~~~~~~~~~~~~~~~~~~ -
7z/DeflateEncoder.h:82:19: warning: ‘NDeflate::NEncoder::CCoder::m_OnePosMatchesArray’ will be initialized after [-Wreorder] 82 | COnePosMatches *m_OnePosMatchesArray; | ^~~~~~~~~~~~~~~~~~~~ -
7z/DeflateEncoder.h:70:11: warning: ‘UINT16* NDeflate::NEncoder::CCoder::m_MatchDistances’ [-Wreorder] 70 | UINT16 *m_MatchDistances; | ^~~~~~~~~~~~~~~~ -
7z/DeflateEncoder.h:88:8: warning: ‘NDeflate::NEncoder::CCoder::m_Created’ will be initialized after [-Wreorder] 88 | bool m_Created; | ^~~~~~~~~ -
7z/DeflateEncoder.h:62:15: warning: ‘NDeflate::NEncoder::CCodeValue* NDeflate::NEncoder::CCoder::m_Values’ [-Wreorder] 62 | CCodeValue *m_Values; | ^~~~~~~~ -
7z/DeflateEncoder.cc:546:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 546 | while(aNumLitLenLevels > kDeflateNumberOfLitLenCodesMin && aNewLevels[aNumLitLenLevels - 1] == 0) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
7z/DeflateEncoder.cc:550:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 550 | while(aNumDistLevels > kDeflateNumberOfDistanceCodesMin && | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
7z/DeflateEncoder.cc:570:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 570 | for (i = 0; i < kLevelTableSize; i++) | ~~^~~~~~~~~~~~~~~~~ -
7z/DeflateEncoder.cc:636:10: warning: variable ‘aNowPos’ set but not used [-Wunused-but-set-variable=] 636 | UINT64 aNowPos = 0; | ^~~~~~~ -
7z/DeflateEncoder.cc:166:26: warning: ‘aGoodIndex’ may be used uninitialized [-Wmaybe-uninitialized] 166 | m_OnePosMatchesArray[aGoodIndex].LongestMatchDistance = UINT16(m_LongestMatchDistance); | ^~~~~~~~~~ -
7z/LZMADecoder.cc:86:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 86 | for (i = 0; i < kNumLenToPosStates; i++) | ~~^~~~~~~~~~~~~~~~~~~~ -
7z/LZMADecoder.cc:114:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 114 | for(int i = 0 ; i < kNumRepDistances; i++) | ~~^~~~~~~~~~~~~~~~~~ -
7z/LZMADecoder.cc:213:23: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘UINT64’ {aka ‘long unsigned int’} [-Wsign-compare] 213 | if (aDistance >= aNowPos64) | ~~~~~~~~~~^~~~~~~~~~~~ -
redef.cc:758:23: warning: catching polymorphic type ‘class std::bad_alloc’ by value [-Wcatch-value=] 758 | } catch (std::bad_alloc) { | ^~~~~~~~~ -
remng.cc:1152:53: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1152 | if (n < 1 || strlen(optarg) != s) | ~~~~~~~~~~~~~~~^~~~ -
remng.cc:1181:53: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1181 | if (n < 2 || strlen(optarg) != s) | ~~~~~~~~~~~~~~~^~~~ -
remng.cc:1194:53: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1194 | if (n < 1 || strlen(optarg) != s) | ~~~~~~~~~~~~~~~^~~~ -
remng.cc:1272:23: warning: catching polymorphic type ‘class std::bad_alloc’ by value [-Wcatch-value=] 1272 | } catch (std::bad_alloc) { | ^~~~~~~~~ -
7z/LZMAEncoder.h:119:7: warning: ‘NCompress::NLZMA::CEncoder::m_DictionarySizePrev’ will be initialized after [-Wreorder] 119 | INT m_DictionarySizePrev; | ^~~~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.h:92:7: warning: ‘INT NCompress::NLZMA::CEncoder::m_NumFastBytes’ [-Wreorder] 92 | INT m_NumFastBytes; | ^~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:36:1: warning: when initialized here [-Wreorder] 36 | CEncoder::CEncoder(): | ^~~~~~~~ -
7z/LZMAEncoder.h:120:7: warning: ‘NCompress::NLZMA::CEncoder::m_NumFastBytesPrev’ will be initialized after [-Wreorder] 120 | INT m_NumFastBytesPrev; | ^~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.h:109:7: warning: ‘INT NCompress::NLZMA::CEncoder::m_DistTableSize’ [-Wreorder] 109 | INT m_DistTableSize; | ^~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:163:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 163 | for(i = 0; i < kNumLenToPosStates; i++) | ~~^~~~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:254:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 254 | for(i = 0; i < kNumRepDistances; i++) | ~~^~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:292:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 292 | for (i = 0; i < kNumRepDistances; i++) | ~~^~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:337:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 337 | for(i = 0; i < kNumRepDistances; i++) | ~~^~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:340:36: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 340 | for(INT aLenTest = 2; aLenTest <= aRepLen; aLenTest++) | ~~~~~~~~~^~~~~~~~~~ -
7z/LZMAEncoder.cc:371:39: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 371 | if (m_Optimum[aCur].BackPrev2 < kNumRepDistances) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:414:18: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 414 | if (aPos < kNumRepDistances) | ~~~~~^~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:419:16: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 419 | if (aPos < kNumRepDistances) | ~~~~~^~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:425:17: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 425 | for(; i < kNumRepDistances; i++) | ~~^~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:431:26: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 431 | for(INT i = 1; i < kNumRepDistances; i++) | ~~^~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:436:22: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 436 | for(INT i = 0; i < kNumRepDistances; i++) | ~~^~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:522:38: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 522 | for(INT aRepIndex = 0; aRepIndex < kNumRepDistances; aRepIndex++) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:635:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 635 | for(int i = 0; i < kNumRepDistances; i++) | ~~^~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:667:47: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 667 | aRepLens[RepMaxIndex] + 2 >= aLenMain && (aBackMain > (1<<12))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:682:38: warning: comparison of integer expressions of different signedness: ‘UINT32’ {aka ‘unsigned int’} and ‘INT’ {aka ‘int’} [-Wsign-compare] 682 | m_MatchDistances[aLenMain] < aBackMain) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
7z/LZMAEncoder.cc:683:46: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 683 | m_LongestMatchLength == aLenMain + 1 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 684 | !ChangePair(aBackMain, m_MatchDistances[m_LongestMatchLength]) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:686:46: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 686 | m_LongestMatchLength + 1 >= aLenMain && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 687 | ChangePair(m_MatchDistances[aLenMain - 1], aBackMain) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:695:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 695 | for(int i = 0; i < kNumRepDistances; i++) | ~~^~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:782:15: warning: comparison of integer expressions of different signedness: ‘INT’ {aka ‘int’} and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 782 | if(aPos < kNumRepDistances) | ~~~~~^~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:880:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 880 | for (int aLenToPosState = 0; aLenToPosState < kNumLenToPosStates; aLenToPosState++) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
7z/LZMAEncoder.cc:893:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const UINT32’ {aka ‘const unsigned int’} [-Wsign-compare] 893 | for (int aLenToPosState = 0; aLenToPosState < kNumLenToPosStates; aLenToPosState++) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
7z/LiteralCoder.h:103:49: warning: ‘aMatchByte’ may be used uninitialized [-Wmaybe-uninitialized] 103 | { m_Coders[GetState(aPos, aPrevByte)].Encode(aRangeEncoder, aMatchMode, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 104 | aMatchByte, aSymbol); } | ~~~~~~~~~~~~~~~~~~~~