CPPFLAGS: -D_FORTIFY_SOURCE=0 -D__USE_MINGW_ANSI_STDIO=1 CFLAGS: -mthreads -mtune=generic -O2 -pipe CXXFLAGS: -mthreads -mtune=generic -O2 -pipe LDFLAGS: -pipe -static-libgcc -static-libstdc++ ninja -j4 [1/22] Building RC object src/app/CMakeFiles/exhaleApp.dir/exhaleApp.rc.obj [2/22] Building CXX object src/lib/CMakeFiles/exhaleLib.dir/cmake_pch.hxx.gch [3/22] Building CXX object src/app/CMakeFiles/exhaleApp.dir/cmake_pch.hxx.gch [4/22] Building CXX object src/lib/CMakeFiles/exhaleLib.dir/exhaleLibPch.cpp.o [5/22] Building CXX object src/lib/CMakeFiles/exhaleLib.dir/lappedTransform.cpp.o [6/22] Building CXX object src/lib/CMakeFiles/exhaleLib.dir/quantization.cpp.o [7/22] Building CXX object src/lib/CMakeFiles/exhaleLib.dir/bitStreamWriter.cpp.o [8/22] Building CXX object src/lib/CMakeFiles/exhaleLib.dir/entropyCoding.cpp.o [9/22] Building CXX object src/lib/CMakeFiles/exhaleLib.dir/tempAnalysis.cpp.o [10/22] Building CXX object src/lib/CMakeFiles/exhaleLib.dir/specAnalysis.cpp.o [11/22] Building CXX object src/lib/CMakeFiles/exhaleLib.dir/bitAllocation.cpp.o [12/22] Building CXX object src/lib/CMakeFiles/exhaleLib.dir/specGapFilling.cpp.o [13/22] Building CXX object src/app/CMakeFiles/exhaleApp.dir/loudnessEstim.cpp.o [14/22] Building CXX object src/lib/CMakeFiles/exhaleLib.dir/exhaleEnc.cpp.o FAILED: src/lib/CMakeFiles/exhaleLib.dir/exhaleEnc.cpp.o D:\mabs\msys64\mingw32\bin\ccache.exe g++ -ID:/mabs/build/exhale-git/include -municode -Wall -Wshadow -mthreads -mtune=generic -O2 -pipe -Wuninitialized -O3 -DNDEBUG -Winvalid-pch -include D:/mabs/build/exhale-git/build-32bit/src/lib/CMakeFiles/exhaleLib.dir/cmake_pch.hxx -MD -MT src/lib/CMakeFiles/exhaleLib.dir/exhaleEnc.cpp.o -MF src\lib\CMakeFiles\exhaleLib.dir\exhaleEnc.cpp.o.d -o src/lib/CMakeFiles/exhaleLib.dir/exhaleEnc.cpp.o -c D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp: In member function 'unsigned int ExhaleEncoder::getOptParCorCoeffs(const SfbGroupData&, uint8_t, TnsData&, unsigned int, uint8_t)': D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:739:87: warning: the address of 'TnsData::coeffParCor' will never be NULL [-Waddress] 739 | tnsData.filterOrder[n] = uint8_t ((bestOrder == 1) && (tnsData.coeffParCor[n] == 0) ? 0 : bestOrder); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from D:/mabs/build/exhale-git/build-32bit/src/lib/CMakeFiles/exhaleLib.dir/cmake_pch.hxx:5, from : D:/mabs/build/exhale-git/src/lib/exhaleLibPch.h:106:13: note: 'TnsData::coeffParCor' declared here 106 | int16_t coeffParCor[3][MAX_PREDICTION_ORDER]; | ^~~~~~~~~~~ D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp: At global scope: D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2169:27: error: function 'ExhaleEncAPI* exhaleCreate(int32_t*, unsigned char*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, bool, bool)' definition is marked dllimport 2169 | EXHALE_DECL ExhaleEncAPI* exhaleCreate (int32_t* const inputPcmData, unsigned char* const outputAuData, | ^~~~~~~~~~~~ D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2169:27: warning: 'ExhaleEncAPI* exhaleCreate(int32_t*, unsigned char*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, bool, bool)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2183:22: error: function 'unsigned int exhaleDelete(ExhaleEncAPI*)' definition is marked dllimport 2183 | EXHALE_DECL unsigned exhaleDelete (ExhaleEncAPI* exhaleEnc) | ^~~~~~~~~~~~ D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2183:22: warning: 'unsigned int exhaleDelete(ExhaleEncAPI*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2191:22: error: function 'unsigned int exhaleInitEncoder(ExhaleEncAPI*, unsigned char*, uint32_t*)' definition is marked dllimport 2191 | EXHALE_DECL unsigned exhaleInitEncoder (ExhaleEncAPI* exhaleEnc, unsigned char* const audioConfigBuffer, | ^~~~~~~~~~~~~~~~~ D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2191:22: warning: 'unsigned int exhaleInitEncoder(ExhaleEncAPI*, unsigned char*, uint32_t*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2200:22: error: function 'unsigned int exhaleEncodeLookahead(ExhaleEncAPI*)' definition is marked dllimport 2200 | EXHALE_DECL unsigned exhaleEncodeLookahead (ExhaleEncAPI* exhaleEnc) | ^~~~~~~~~~~~~~~~~~~~~ D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2200:22: warning: 'unsigned int exhaleEncodeLookahead(ExhaleEncAPI*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2208:22: error: function 'unsigned int exhaleEncodeFrame(ExhaleEncAPI*)' definition is marked dllimport 2208 | EXHALE_DECL unsigned exhaleEncodeFrame (ExhaleEncAPI* exhaleEnc) | ^~~~~~~~~~~~~~~~~ D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2208:22: warning: 'unsigned int exhaleEncodeFrame(ExhaleEncAPI*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] [15/22] Building CXX object src/lib/CMakeFiles/exhaleLib.dir/linearPrediction.cpp.o [16/22] Building CXX object src/app/CMakeFiles/exhaleApp.dir/basicMP4Writer.cpp.o [17/22] Building CXX object src/lib/CMakeFiles/exhaleLib.dir/stereoProcessing.cpp.o ninja: build stopped: subcommand failed. [1/6] Building CXX object src/lib/CMakeFiles/exhaleLib.dir/exhaleEnc.cpp.o FAILED: src/lib/CMakeFiles/exhaleLib.dir/exhaleEnc.cpp.o D:\mabs\msys64\mingw32\bin\ccache.exe g++ -ID:/mabs/build/exhale-git/include -municode -Wall -Wshadow -mthreads -mtune=generic -O2 -pipe -Wuninitialized -O3 -DNDEBUG -Winvalid-pch -include D:/mabs/build/exhale-git/build-32bit/src/lib/CMakeFiles/exhaleLib.dir/cmake_pch.hxx -MD -MT src/lib/CMakeFiles/exhaleLib.dir/exhaleEnc.cpp.o -MF src\lib\CMakeFiles\exhaleLib.dir\exhaleEnc.cpp.o.d -o src/lib/CMakeFiles/exhaleLib.dir/exhaleEnc.cpp.o -c D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp: In member function 'unsigned int ExhaleEncoder::getOptParCorCoeffs(const SfbGroupData&, uint8_t, TnsData&, unsigned int, uint8_t)': D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:739:87: warning: the address of 'TnsData::coeffParCor' will never be NULL [-Waddress] 739 | tnsData.filterOrder[n] = uint8_t ((bestOrder == 1) && (tnsData.coeffParCor[n] == 0) ? 0 : bestOrder); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from D:/mabs/build/exhale-git/build-32bit/src/lib/CMakeFiles/exhaleLib.dir/cmake_pch.hxx:5, from : D:/mabs/build/exhale-git/src/lib/exhaleLibPch.h:106:13: note: 'TnsData::coeffParCor' declared here 106 | int16_t coeffParCor[3][MAX_PREDICTION_ORDER]; | ^~~~~~~~~~~ D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp: At global scope: D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2169:27: error: function 'ExhaleEncAPI* exhaleCreate(int32_t*, unsigned char*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, bool, bool)' definition is marked dllimport 2169 | EXHALE_DECL ExhaleEncAPI* exhaleCreate (int32_t* const inputPcmData, unsigned char* const outputAuData, | ^~~~~~~~~~~~ D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2169:27: warning: 'ExhaleEncAPI* exhaleCreate(int32_t*, unsigned char*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, bool, bool)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2183:22: error: function 'unsigned int exhaleDelete(ExhaleEncAPI*)' definition is marked dllimport 2183 | EXHALE_DECL unsigned exhaleDelete (ExhaleEncAPI* exhaleEnc) | ^~~~~~~~~~~~ D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2183:22: warning: 'unsigned int exhaleDelete(ExhaleEncAPI*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2191:22: error: function 'unsigned int exhaleInitEncoder(ExhaleEncAPI*, unsigned char*, uint32_t*)' definition is marked dllimport 2191 | EXHALE_DECL unsigned exhaleInitEncoder (ExhaleEncAPI* exhaleEnc, unsigned char* const audioConfigBuffer, | ^~~~~~~~~~~~~~~~~ D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2191:22: warning: 'unsigned int exhaleInitEncoder(ExhaleEncAPI*, unsigned char*, uint32_t*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2200:22: error: function 'unsigned int exhaleEncodeLookahead(ExhaleEncAPI*)' definition is marked dllimport 2200 | EXHALE_DECL unsigned exhaleEncodeLookahead (ExhaleEncAPI* exhaleEnc) | ^~~~~~~~~~~~~~~~~~~~~ D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2200:22: warning: 'unsigned int exhaleEncodeLookahead(ExhaleEncAPI*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2208:22: error: function 'unsigned int exhaleEncodeFrame(ExhaleEncAPI*)' definition is marked dllimport 2208 | EXHALE_DECL unsigned exhaleEncodeFrame (ExhaleEncAPI* exhaleEnc) | ^~~~~~~~~~~~~~~~~ D:/mabs/build/exhale-git/src/lib/exhaleEnc.cpp:2208:22: warning: 'unsigned int exhaleEncodeFrame(ExhaleEncAPI*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] ninja: build stopped: subcommand failed.