Closed dboltovskyi closed 3 years ago
SDL build fails with ENABLE_LOG=OFFF
-ENABLE_LOG=OFF
SDL is built successfully
Build failed
12:38:15 [ 5%] Building CXX object src/components/utils/CMakeFiles/Utils.dir/src/convert_utils.cc.o 12:38:16 /home/jenkins/workspace/Develop_SDL_NoUT_P_ENABLE_LOG_OFF/src/components/utils/src/convert_utils.cc: In function ‘std::__cxx11::string utils::ConvertBinaryDataToString(const uint8_t*, size_t)’: 12:38:16 /home/jenkins/workspace/Develop_SDL_NoUT_P_ENABLE_LOG_OFF/src/components/utils/src/convert_utils.cc:81:15: error: aggregate ‘std::locale loc’ has incomplete type and cannot be defined 12:38:16 std::locale loc; 12:38:16 ^~~ 12:38:16 src/components/utils/CMakeFiles/Utils.dir/build.make:158: recipe for target 'src/components/utils/CMakeFiles/Utils.dir/src/convert_utils.cc.o' failed 12:38:16 make[2]: *** [src/components/utils/CMakeFiles/Utils.dir/src/convert_utils.cc.o] Error 1
closing with the merge of #3604
Bug Report
SDL build fails with ENABLE_LOG=OFFF
Reproduction Steps
-ENABLE_LOG=OFF
flagExpected Behavior
SDL is built successfully
Observed Behavior
Build failed
OS & Version Information
Test Case, Sample Code, and / or Example App