+ curl -f --connect-timeout 5 --retry 3 --location https://sources.cdn.openwrt.org/lzma-4.65.tar.bz2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 246k 100 246k 0 0 1538k 0 --:--:-- --:--:-- --:--:-- 1540k Applying /home/buildbot/openwrt/tools/lzma/patches/001-large_files.patch using plaintext: patching file CPP/7zip/Compress/LZMA_Alone/makefile.gcc Applying /home/buildbot/openwrt/tools/lzma/patches/002-lzmp.patch using plaintext: patching file CPP/7zip/Compress/LZMA_Alone/lzmp.cpp patching file CPP/7zip/Compress/LZMA_Alone/Exception.h patching file CPP/7zip/Compress/LZMA_Alone/makefile.gcc patching file CPP/7zip/Compress/LZMA_Alone/lzma_version.h patching file CPP/Common/C_FileIO.h Applying /home/buildbot/openwrt/tools/lzma/patches/003-compile_fixes.patch using plaintext: patching file CPP/7zip/Common/FileStreams.h patching file CPP/Common/MyWindows.h Applying /home/buildbot/openwrt/tools/lzma/patches/100-static_library.patch using plaintext: patching file C/LzmaUtil/makefile.gcc Applying /home/buildbot/openwrt/tools/lzma/patches/101-move-copyright-to-usage-info.patch using plaintext: patching file CPP/7zip/Compress/LZMA_Alone/LzmaAlone.cpp make[4]: Entering directory '/home/buildbot/openwrt/build_dir/host/lzma-4.65/C/LzmaUtil' gcc -c -O2 -Wall LzmaUtil.c LzmaUtil.c: In function 'Decode2': LzmaUtil.c:95:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 95 | if (res != SZ_OK || thereIsSize && unpackSize == 0) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ gcc -c -O2 -Wall ../Alloc.c gcc -c -O2 -Wall ../LzFind.c gcc -c -O2 -Wall ../LzmaDec.c gcc -c -O2 -Wall ../LzmaEnc.c ../LzmaEnc.c: In function 'LzmaEnc_Alloc': ../LzmaEnc.c:1922:8: warning: variable 'btMode' set but not used [-Wunused-but-set-variable] 1922 | Bool btMode; | ^~~~~~ ../LzmaEnc.c: In function 'LzmaEnc_CodeOneMemBlock': ../LzmaEnc.c:2161:19: warning: storing the address of local variable 'outStream' in '*(CLzmaEnc *)pp.rc.outStream' [-Wdangling-pointer=] 2161 | p->rc.outStream = &outStream.funcTable; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../LzmaEnc.c:2145:20: note: 'outStream' declared here 2145 | CSeqOutStreamBuf outStream; | ^~~~~~~~~ ../LzmaEnc.c:2139:45: note: 'pp' declared here 2139 | SRes LzmaEnc_CodeOneMemBlock(CLzmaEncHandle pp, Bool reInit, | ~~~~~~~~~~~~~~~^~ gcc -c -O2 -Wall ../LzmaLib.c gcc -c -O2 -Wall ../7zFile.c gcc -c -O2 -Wall ../7zStream.c rm -f liblzma.a ar rcu liblzma.a Alloc.o LzFind.o LzmaDec.o LzmaEnc.o LzmaLib.o 7zFile.o 7zStream.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib liblzma.a gcc -o lzma LzmaUtil.o liblzma.a make[4]: Leaving directory '/home/buildbot/openwrt/build_dir/host/lzma-4.65/C/LzmaUtil' make[4]: Entering directory '/home/buildbot/openwrt/build_dir/host/lzma-4.65/CPP/7zip/Compress/LZMA_Alone' g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" LzmaAlone.cpp In file included from ../../../Common/CommandLineParser.h:6, from LzmaAlone.cpp:18: ../../../Common/MyString.h: In member function 'int CStringBase::FindOneOf(const CStringBase&) const': ../../../Common/MyString.h:414:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 414 | for (int i = 0; i < _length; i++) | ^~~ ../../../Common/MyString.h:417:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 417 | return -1; | ^~~~~~ In file included from ../../Common/FileStreams.h:17, from LzmaAlone.cpp:22: ../../Common/FileStreams.h: In member function 'virtual ULONG CInFileStream::Release()': ../../Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:195:33: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 195 | #define MY_UNKNOWN_IMP2(i1, i2) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:47:3: note: in expansion of macro 'MY_UNKNOWN_IMP2' 47 | MY_UNKNOWN_IMP2(IInStream, IStreamGetSize) | ^~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:195:33: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 195 | #define MY_UNKNOWN_IMP2(i1, i2) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:47:3: note: in expansion of macro 'MY_UNKNOWN_IMP2' 47 | MY_UNKNOWN_IMP2(IInStream, IStreamGetSize) | ^~~~~~~~~~~~~~~ ../../Common/FileStreams.h: In member function 'virtual ULONG CStdInFileStream::Release()': ../../Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../Common/../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:64:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 64 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../Common/../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:64:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 64 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../../Common/FileStreams.h: In member function 'virtual ULONG COutFileStream::Release()': ../../Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:190:28: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 190 | #define MY_UNKNOWN_IMP1(i) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:121:3: note: in expansion of macro 'MY_UNKNOWN_IMP1' 121 | MY_UNKNOWN_IMP1(IOutStream) | ^~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:190:28: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 190 | #define MY_UNKNOWN_IMP1(i) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:121:3: note: in expansion of macro 'MY_UNKNOWN_IMP1' 121 | MY_UNKNOWN_IMP1(IOutStream) | ^~~~~~~~~~~~~~~ ../../Common/FileStreams.h: In member function 'virtual ULONG CStdOutFileStream::Release()': ../../Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../Common/../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:134:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 134 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../Common/../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:134:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 134 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../LzmaDecoder.h: In member function 'virtual ULONG NCompress::NLzma::CDecoder::Release()': ../../Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:216:45: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 216 | #define MY_UNKNOWN_IMP5(i1, i2, i3, i4, i5) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../LzmaDecoder.h:40:3: note: in expansion of macro 'MY_UNKNOWN_IMP5' 40 | MY_UNKNOWN_IMP5( | ^~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:216:45: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 216 | #define MY_UNKNOWN_IMP5(i1, i2, i3, i4, i5) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../LzmaDecoder.h:40:3: note: in expansion of macro 'MY_UNKNOWN_IMP5' 40 | MY_UNKNOWN_IMP5( | ^~~~~~~~~~~~~~~ ../LzmaEncoder.h: In member function 'virtual ULONG NCompress::NLzma::CEncoder::Release()': ../../Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:201:37: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 201 | #define MY_UNKNOWN_IMP3(i1, i2, i3) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../LzmaEncoder.h:46:3: note: in expansion of macro 'MY_UNKNOWN_IMP3' 46 | MY_UNKNOWN_IMP3( | ^~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:201:37: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 201 | #define MY_UNKNOWN_IMP3(i1, i2, i3) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../LzmaEncoder.h:46:3: note: in expansion of macro 'MY_UNKNOWN_IMP3' 46 | MY_UNKNOWN_IMP3( | ^~~~~~~~~~~~~~~ g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" LzmaBench.cpp In file included from LzmaBench.cpp:37: ../LzmaDecoder.h: In member function 'virtual ULONG NCompress::NLzma::CDecoder::Release()': ../../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../Common/MyCom.h:216:45: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 216 | #define MY_UNKNOWN_IMP5(i1, i2, i3, i4, i5) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../LzmaDecoder.h:40:3: note: in expansion of macro 'MY_UNKNOWN_IMP5' 40 | MY_UNKNOWN_IMP5( | ^~~~~~~~~~~~~~~ ../../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../Common/MyCom.h:216:45: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 216 | #define MY_UNKNOWN_IMP5(i1, i2, i3, i4, i5) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../LzmaDecoder.h:40:3: note: in expansion of macro 'MY_UNKNOWN_IMP5' 40 | MY_UNKNOWN_IMP5( | ^~~~~~~~~~~~~~~ ../LzmaEncoder.h: In member function 'virtual ULONG NCompress::NLzma::CEncoder::Release()': ../../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../Common/MyCom.h:201:37: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 201 | #define MY_UNKNOWN_IMP3(i1, i2, i3) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../LzmaEncoder.h:46:3: note: in expansion of macro 'MY_UNKNOWN_IMP3' 46 | MY_UNKNOWN_IMP3( | ^~~~~~~~~~~~~~~ ../../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../Common/MyCom.h:201:37: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 201 | #define MY_UNKNOWN_IMP3(i1, i2, i3) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../LzmaEncoder.h:46:3: note: in expansion of macro 'MY_UNKNOWN_IMP3' 46 | MY_UNKNOWN_IMP3( | ^~~~~~~~~~~~~~~ LzmaBench.cpp: In member function 'virtual ULONG CBenchmarkInStream::Release()': ../../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ LzmaBench.cpp:157:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 157 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ LzmaBench.cpp:157:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 157 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ LzmaBench.cpp: In member function 'virtual ULONG CBenchmarkOutStream::Release()': ../../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ LzmaBench.cpp:197:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 197 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ LzmaBench.cpp:197:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 197 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ LzmaBench.cpp: In member function 'virtual ULONG CCrcOutStream::Release()': ../../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ LzmaBench.cpp:224:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 224 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ LzmaBench.cpp:224:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 224 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ LzmaBench.cpp: In member function 'virtual ULONG CBenchProgressInfo::Release()': ../../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ LzmaBench.cpp:334:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 334 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ LzmaBench.cpp:334:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 334 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" LzmaBenchCon.cpp g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../LzmaDecoder.cpp In file included from ../LzmaDecoder.h:11, from ../LzmaDecoder.cpp:12: ../LzmaDecoder.h: In member function 'virtual ULONG NCompress::NLzma::CDecoder::Release()': ../../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../Common/MyCom.h:216:45: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 216 | #define MY_UNKNOWN_IMP5(i1, i2, i3, i4, i5) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../LzmaDecoder.h:40:3: note: in expansion of macro 'MY_UNKNOWN_IMP5' 40 | MY_UNKNOWN_IMP5( | ^~~~~~~~~~~~~~~ ../../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../Common/MyCom.h:216:45: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 216 | #define MY_UNKNOWN_IMP5(i1, i2, i3, i4, i5) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../LzmaDecoder.h:40:3: note: in expansion of macro 'MY_UNKNOWN_IMP5' 40 | MY_UNKNOWN_IMP5( | ^~~~~~~~~~~~~~~ g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../LzmaEncoder.cpp In file included from ../LzmaEncoder.h:11, from ../LzmaEncoder.cpp:12: ../LzmaEncoder.h: In member function 'virtual ULONG NCompress::NLzma::CEncoder::Release()': ../../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../Common/MyCom.h:201:37: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 201 | #define MY_UNKNOWN_IMP3(i1, i2, i3) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../LzmaEncoder.h:46:3: note: in expansion of macro 'MY_UNKNOWN_IMP3' 46 | MY_UNKNOWN_IMP3( | ^~~~~~~~~~~~~~~ ../../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../Common/MyCom.h:201:37: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 201 | #define MY_UNKNOWN_IMP3(i1, i2, i3) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../LzmaEncoder.h:46:3: note: in expansion of macro 'MY_UNKNOWN_IMP3' 46 | MY_UNKNOWN_IMP3( | ^~~~~~~~~~~~~~~ ../LzmaEncoder.cpp: In member function 'virtual LONG NCompress::NLzma::CEncoder::SetCoderProperties(const PROPID*, const PROPVARIANT*, UInt32)': ../LzmaEncoder.cpp:123:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 123 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.fb = prop.ulVal; break; | ^~ ../LzmaEncoder.cpp:123:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 123 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.fb = prop.ulVal; break; | ^~~~~ ../LzmaEncoder.cpp:125:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 125 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.mc = prop.ulVal; break; | ^~ ../LzmaEncoder.cpp:125:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 125 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.mc = prop.ulVal; break; | ^~~~~ ../LzmaEncoder.cpp:127:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 127 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.algo = prop.ulVal; break; | ^~ ../LzmaEncoder.cpp:127:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 127 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.algo = prop.ulVal; break; | ^~~~~ ../LzmaEncoder.cpp:129:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 129 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.dictSize = prop.ulVal; break; | ^~ ../LzmaEncoder.cpp:129:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 129 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.dictSize = prop.ulVal; break; | ^~~~~ ../LzmaEncoder.cpp:131:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 131 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.pb = prop.ulVal; break; | ^~ ../LzmaEncoder.cpp:131:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 131 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.pb = prop.ulVal; break; | ^~~~~ ../LzmaEncoder.cpp:133:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 133 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.lp = prop.ulVal; break; | ^~ ../LzmaEncoder.cpp:133:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 133 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.lp = prop.ulVal; break; | ^~~~~ ../LzmaEncoder.cpp:135:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 135 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.lc = prop.ulVal; break; | ^~ ../LzmaEncoder.cpp:135:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 135 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.lc = prop.ulVal; break; | ^~~~~ ../LzmaEncoder.cpp:137:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 137 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.numThreads = prop.ulVal; break; | ^~ ../LzmaEncoder.cpp:137:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 137 | if (prop.vt != VT_UI4) return E_INVALIDARG; props.numThreads = prop.ulVal; break; | ^~~~~ ../LzmaEncoder.cpp:139:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 139 | if (prop.vt != VT_BOOL) return E_INVALIDARG; props.numThreads = ((prop.boolVal == VARIANT_TRUE) ? 2 : 1); break; | ^~ ../LzmaEncoder.cpp:139:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 139 | if (prop.vt != VT_BOOL) return E_INVALIDARG; props.numThreads = ((prop.boolVal == VARIANT_TRUE) ? 2 : 1); break; | ^~~~~ ../LzmaEncoder.cpp:141:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 141 | if (prop.vt != VT_BOOL) return E_INVALIDARG; props.writeEndMark = (prop.boolVal == VARIANT_TRUE); break; | ^~ ../LzmaEncoder.cpp:141:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 141 | if (prop.vt != VT_BOOL) return E_INVALIDARG; props.writeEndMark = (prop.boolVal == VARIANT_TRUE); break; | ^~~~~ ../LzmaEncoder.cpp:144:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 144 | if (!ParseMatchFinder(prop.bstrVal, &props.btMode, &props.numHashBytes /* , &_matchFinderBase.skipModeBits */)) | ^~ ../LzmaEncoder.cpp:145:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 145 | return E_INVALIDARG; break; | ^~~~~ g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../Common/InBuffer.cpp g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../Common/OutBuffer.cpp g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../Common/FileStreams.cpp In file included from ../../Common/FileStreams.h:17, from ../../Common/FileStreams.cpp:11: ../../Common/FileStreams.h: In member function 'virtual ULONG CInFileStream::Release()': ../../Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:195:33: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 195 | #define MY_UNKNOWN_IMP2(i1, i2) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:47:3: note: in expansion of macro 'MY_UNKNOWN_IMP2' 47 | MY_UNKNOWN_IMP2(IInStream, IStreamGetSize) | ^~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:195:33: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 195 | #define MY_UNKNOWN_IMP2(i1, i2) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:47:3: note: in expansion of macro 'MY_UNKNOWN_IMP2' 47 | MY_UNKNOWN_IMP2(IInStream, IStreamGetSize) | ^~~~~~~~~~~~~~~ ../../Common/FileStreams.h: In member function 'virtual ULONG CStdInFileStream::Release()': ../../Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../Common/../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:64:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 64 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../Common/../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:64:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 64 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../../Common/FileStreams.h: In member function 'virtual ULONG COutFileStream::Release()': ../../Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:190:28: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 190 | #define MY_UNKNOWN_IMP1(i) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:121:3: note: in expansion of macro 'MY_UNKNOWN_IMP1' 121 | MY_UNKNOWN_IMP1(IOutStream) | ^~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:190:28: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 190 | #define MY_UNKNOWN_IMP1(i) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:121:3: note: in expansion of macro 'MY_UNKNOWN_IMP1' 121 | MY_UNKNOWN_IMP1(IOutStream) | ^~~~~~~~~~~~~~~ ../../Common/FileStreams.h: In member function 'virtual ULONG CStdOutFileStream::Release()': ../../Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../Common/../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:134:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 134 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../../Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../Common/../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../Common/FileStreams.h:134:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 134 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../Common/StreamUtils.cpp g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../Common/C_FileIO.cpp g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../Common/CommandLineParser.cpp In file included from ../../../Common/CommandLineParser.h:6, from ../../../Common/CommandLineParser.cpp:5: ../../../Common/MyString.h: In member function 'int CStringBase::FindOneOf(const CStringBase&) const': ../../../Common/MyString.h:414:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 414 | for (int i = 0; i < _length; i++) | ^~~ ../../../Common/MyString.h:417:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 417 | return -1; | ^~~~~~ g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../Common/CRC.cpp g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../Common/IntToString.cpp g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../Common/MyString.cpp In file included from ../../../Common/StringConvert.h:7, from ../../../Common/MyString.cpp:10: ../../../Common/MyString.h: In member function 'int CStringBase::FindOneOf(const CStringBase&) const': ../../../Common/MyString.h:414:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 414 | for (int i = 0; i < _length; i++) | ^~~ ../../../Common/MyString.h:417:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 417 | return -1; | ^~~~~~ g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../Common/StringConvert.cpp In file included from ../../../Common/StringConvert.h:7, from ../../../Common/StringConvert.cpp:5: ../../../Common/MyString.h: In member function 'int CStringBase::FindOneOf(const CStringBase&) const': ../../../Common/MyString.h:414:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 414 | for (int i = 0; i < _length; i++) | ^~~ ../../../Common/MyString.h:417:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 417 | return -1; | ^~~~~~ g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../Common/StringToInt.cpp g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../Common/MyVector.cpp gcc -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../../C/7zCrc.c gcc -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../../C/Alloc.c gcc -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../../C/Bra86.c gcc -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../../C/LzFind.c gcc -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../../C/LzmaDec.c gcc -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../../C/LzmaEnc.c ../../../../C/LzmaEnc.c: In function 'LzmaEnc_Alloc': ../../../../C/LzmaEnc.c:1922:8: warning: variable 'btMode' set but not used [-Wunused-but-set-variable] 1922 | Bool btMode; | ^~~~~~ ../../../../C/LzmaEnc.c: In function 'LzmaEnc_CodeOneMemBlock': ../../../../C/LzmaEnc.c:2161:19: warning: storing the address of local variable 'outStream' in '*(CLzmaEnc *)pp.rc.outStream' [-Wdangling-pointer=] 2161 | p->rc.outStream = &outStream.funcTable; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../../../../C/LzmaEnc.c:2145:20: note: 'outStream' declared here 2145 | CSeqOutStreamBuf outStream; | ^~~~~~~~~ ../../../../C/LzmaEnc.c:2139:45: note: 'pp' declared here 2139 | SRes LzmaEnc_CodeOneMemBlock(CLzmaEncHandle pp, Bool reInit, | ~~~~~~~~~~~~~~~^~ gcc -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../../C/LzmaUtil/Lzma86Dec.c gcc -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" ../../../../C/LzmaUtil/Lzma86Enc.c g++ -O2 -Wall -o lzma_alone LzmaAlone.o LzmaBench.o LzmaBenchCon.o LzmaDecoder.o LzmaEncoder.o InBuffer.o OutBuffer.o FileStreams.o StreamUtils.o C_FileIO.o CommandLineParser.o CRC.o IntToString.o MyString.o StringConvert.o StringToInt.o MyVector.o 7zCrc.o Alloc.o Bra86.o LzFind.o LzmaDec.o LzmaEnc.o Lzma86Dec.o Lzma86Enc.o -lm g++ -O2 -Wall -c -I ../../../ -D_FILE_OFFSET_BITS=64 -DPACKAGE_VERSION="\"4.32.0beta3\"" lzmp.cpp In file included from ../../../7zip/Common/FileStreams.h:17, from lzmp.cpp:61: ../../../7zip/Common/FileStreams.h: In member function 'virtual ULONG CInFileStream::Release()': ../../../7zip/Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../../7zip/Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../7zip/Common/../../Common/MyCom.h:195:33: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 195 | #define MY_UNKNOWN_IMP2(i1, i2) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../../7zip/Common/FileStreams.h:47:3: note: in expansion of macro 'MY_UNKNOWN_IMP2' 47 | MY_UNKNOWN_IMP2(IInStream, IStreamGetSize) | ^~~~~~~~~~~~~~~ ../../../7zip/Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../../7zip/Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../7zip/Common/../../Common/MyCom.h:195:33: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 195 | #define MY_UNKNOWN_IMP2(i1, i2) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../../7zip/Common/FileStreams.h:47:3: note: in expansion of macro 'MY_UNKNOWN_IMP2' 47 | MY_UNKNOWN_IMP2(IInStream, IStreamGetSize) | ^~~~~~~~~~~~~~~ ../../../7zip/Common/FileStreams.h: In member function 'virtual ULONG CStdInFileStream::Release()': ../../../7zip/Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../../7zip/Common/../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../7zip/Common/FileStreams.h:64:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 64 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../../../7zip/Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../../7zip/Common/../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../7zip/Common/FileStreams.h:64:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 64 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../../../7zip/Common/FileStreams.h: In member function 'virtual ULONG COutFileStream::Release()': ../../../7zip/Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../../7zip/Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../7zip/Common/../../Common/MyCom.h:190:28: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 190 | #define MY_UNKNOWN_IMP1(i) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../../7zip/Common/FileStreams.h:121:3: note: in expansion of macro 'MY_UNKNOWN_IMP1' 121 | MY_UNKNOWN_IMP1(IOutStream) | ^~~~~~~~~~~~~~~ ../../../7zip/Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../../7zip/Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../7zip/Common/../../Common/MyCom.h:190:28: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 190 | #define MY_UNKNOWN_IMP1(i) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../../7zip/Common/FileStreams.h:121:3: note: in expansion of macro 'MY_UNKNOWN_IMP1' 121 | MY_UNKNOWN_IMP1(IOutStream) | ^~~~~~~~~~~~~~~ ../../../7zip/Common/FileStreams.h: In member function 'virtual ULONG CStdOutFileStream::Release()': ../../../7zip/Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../../7zip/Common/../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../7zip/Common/FileStreams.h:134:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 134 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../../../7zip/Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../../7zip/Common/../../Common/MyCom.h:188:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 188 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../7zip/Common/FileStreams.h:134:3: note: in expansion of macro 'MY_UNKNOWN_IMP' 134 | MY_UNKNOWN_IMP | ^~~~~~~~~~~~~~ ../../../7zip/Compress/LzmaDecoder.h: In member function 'virtual ULONG NCompress::NLzma::CDecoder::Release()': ../../../7zip/Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../../7zip/Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../7zip/Common/../../Common/MyCom.h:216:45: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 216 | #define MY_UNKNOWN_IMP5(i1, i2, i3, i4, i5) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../../7zip/Compress/LzmaDecoder.h:40:3: note: in expansion of macro 'MY_UNKNOWN_IMP5' 40 | MY_UNKNOWN_IMP5( | ^~~~~~~~~~~~~~~ ../../../7zip/Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../../7zip/Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../7zip/Common/../../Common/MyCom.h:216:45: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 216 | #define MY_UNKNOWN_IMP5(i1, i2, i3, i4, i5) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../../7zip/Compress/LzmaDecoder.h:40:3: note: in expansion of macro 'MY_UNKNOWN_IMP5' 40 | MY_UNKNOWN_IMP5( | ^~~~~~~~~~~~~~~ ../../../7zip/Compress/LzmaEncoder.h: In member function 'virtual ULONG NCompress::NLzma::CEncoder::Release()': ../../../7zip/Common/../../Common/MyCom.h:175:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0) \ | ^~ ../../../7zip/Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../7zip/Common/../../Common/MyCom.h:201:37: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 201 | #define MY_UNKNOWN_IMP3(i1, i2, i3) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../../7zip/Compress/LzmaEncoder.h:46:3: note: in expansion of macro 'MY_UNKNOWN_IMP3' 46 | MY_UNKNOWN_IMP3( | ^~~~~~~~~~~~~~~ ../../../7zip/Common/../../Common/MyCom.h:176:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 176 | return __m_RefCount; delete this; return 0; } | ^~~~~~ ../../../7zip/Common/../../Common/MyCom.h:182:3: note: in expansion of macro 'MY_ADDREF_RELEASE' 182 | MY_ADDREF_RELEASE | ^~~~~~~~~~~~~~~~~ ../../../7zip/Common/../../Common/MyCom.h:201:37: note: in expansion of macro 'MY_UNKNOWN_IMP_SPEC' 201 | #define MY_UNKNOWN_IMP3(i1, i2, i3) MY_UNKNOWN_IMP_SPEC( \ | ^~~~~~~~~~~~~~~~~~~ ../../../7zip/Compress/LzmaEncoder.h:46:3: note: in expansion of macro 'MY_UNKNOWN_IMP3' 46 | MY_UNKNOWN_IMP3( | ^~~~~~~~~~~~~~~ lzmp.cpp: At global scope: lzmp.cpp:103:23: warning: ISO C++ forbids converting a string constant to 'wchar_t*' [-Wwrite-strings] 103 | { 0, 16, 64, L"hc4", 3, 0, 2}, // -1 | ^~~~~~ lzmp.cpp:104:23: warning: ISO C++ forbids converting a string constant to 'wchar_t*' [-Wwrite-strings] 104 | { 0, 20, 64, L"hc4", 3, 0, 2}, // -2 | ^~~~~~ lzmp.cpp:105:23: warning: ISO C++ forbids converting a string constant to 'wchar_t*' [-Wwrite-strings] 105 | { 1, 19, 64, L"bt4", 3, 0, 2}, // -3 | ^~~~~~ lzmp.cpp:106:23: warning: ISO C++ forbids converting a string constant to 'wchar_t*' [-Wwrite-strings] 106 | { 2, 20, 64, L"bt4", 3, 0, 2}, // -4 | ^~~~~~ lzmp.cpp:107:23: warning: ISO C++ forbids converting a string constant to 'wchar_t*' [-Wwrite-strings] 107 | { 2, 21, 128, L"bt4", 3, 0, 2}, // -5 | ^~~~~~ lzmp.cpp:108:23: warning: ISO C++ forbids converting a string constant to 'wchar_t*' [-Wwrite-strings] 108 | { 2, 22, 128, L"bt4", 3, 0, 2}, // -6 | ^~~~~~ lzmp.cpp:109:23: warning: ISO C++ forbids converting a string constant to 'wchar_t*' [-Wwrite-strings] 109 | { 2, 23, 128, L"bt4", 3, 0, 2}, // -7 | ^~~~~~ lzmp.cpp:110:23: warning: ISO C++ forbids converting a string constant to 'wchar_t*' [-Wwrite-strings] 110 | { 2, 24, 255, L"bt4", 3, 0, 2}, // -8 | ^~~~~~ lzmp.cpp:111:23: warning: ISO C++ forbids converting a string constant to 'wchar_t*' [-Wwrite-strings] 111 | { 2, 25, 255, L"bt4", 3, 0, 2}, // -9 | ^~~~~~ lzmp.cpp:120:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | { ".lzma", "" }, | ^~~~~~~ lzmp.cpp:120:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | { ".lzma", "" }, | ^~ lzmp.cpp:121:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | { ".tlz", ".tar" }, | ^~~~~~ lzmp.cpp:121:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | { ".tlz", ".tar" }, | ^~~~~~ lzmp.cpp: In function 'short int lzma::str2int(const char*, const int&, const int&)': lzmp.cpp:236:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 236 | throw ArgumentException("Invalid integer option"); | ^~~~~~~~~~~~~~~~~~~~~~~~ lzmp.cpp:239:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 239 | throw ArgumentException("Invalid integer option"); | ^~~~~~~~~~~~~~~~~~~~~~~~ lzmp.cpp: In function 'void lzma::parse_options(int, char**, stringVector&)': lzmp.cpp:352:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 352 | throw ArgumentException(""); | ^~ lzmp.cpp: In function 'void lzma::set_encoder_properties(NCompress::NLzma::CEncoder*, lzma_option&)': lzmp.cpp:399:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 399 | throw Exception("SetCoderProperties() error"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ lzmp.cpp: In function 'void lzma::encode(NCompress::NLzma::CEncoder*, CMyComPtr, CMyComPtr, lzma_option, UInt64)': lzmp.cpp:416:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 416 | throw Exception("Write error while encoding"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ lzmp.cpp:422:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 422 | throw Exception("Cannot allocate memory"); | ^~~~~~~~~~~~~~~~~~~~~~~~ lzmp.cpp: In function 'void lzma::decode(NCompress::NLzma::CDecoder*, CMyComPtr, CMyComPtr)': lzmp.cpp:440:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 440 | throw Exception("Read error"); | ^~~~~~~~~~~~ lzmp.cpp:442:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 442 | throw Exception("Read error"); | ^~~~~~~~~~~~ lzmp.cpp:444:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 444 | throw Exception("SetDecoderProperties() error"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lzmp.cpp:451:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 451 | throw Exception("Read error"); | ^~~~~~~~~~~~ lzmp.cpp:453:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 453 | throw Exception("Read error"); | ^~~~~~~~~~~~ lzmp.cpp:459:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 459 | throw Exception("Decoder error"); | ^~~~~~~~~~~~~~~ lzmp.cpp: In function 'std::string lzma::replace_extension(std::string)': lzmp.cpp:543:14: warning: variable 'found_replacement' set but not used [-Wunused-but-set-variable] 543 | bool found_replacement = false; | ^~~~~~~~~~~~~~~~~ lzmp.cpp: In function 'int main(int, char**)': lzmp.cpp:665:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 665 | for (int i = 0; i < filenames.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ lzmp.cpp:841:29: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 841 | int ret = 0; | ^~~ In file included from lzmp.cpp:70: lzma_version.h: At global scope: lzma_version.h:24:20: warning: 'LZMA_UTILS_COPYRIGHT_INFO' defined but not used [-Wunused-variable] 24 | static const char *LZMA_UTILS_COPYRIGHT_INFO = | ^~~~~~~~~~~~~~~~~~~~~~~~~ lzma_version.h:21:20: warning: 'LZMA_UTILS_COPYRIGHT_STRING' defined but not used [-Wunused-variable] 21 | static const char *LZMA_UTILS_COPYRIGHT_STRING = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ lzma_version.h:19:20: warning: 'LZMA_UTILS_VERSION_STRING' defined but not used [-Wunused-variable] 19 | static const char *LZMA_UTILS_VERSION_STRING = PACKAGE_VERSION; | ^~~~~~~~~~~~~~~~~~~~~~~~~ lzma_version.h:13:20: warning: 'LZMA_SDK_COPYRIGHT_INFO' defined but not used [-Wunused-variable] 13 | static const char *LZMA_SDK_COPYRIGHT_INFO = | ^~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -Wall -o lzma C_FileIO.o CRC.o Alloc.o FileStreams.o StreamUtils.o InBuffer.o OutBuffer.o LzmaDecoder.o StringConvert.o StringToInt.o LzmaEncoder.o LzmaDec.o LzmaEnc.o LzFind.o 7zCrc.o lzmp.o -lm make[4]: Leaving directory '/home/buildbot/openwrt/build_dir/host/lzma-4.65/CPP/7zip/Compress/LZMA_Alone' time: tools/lzma/compile#10.02#0.92#11.65