-
Notifications
You must be signed in to change notification settings - Fork 244
Closed
Labels
Description
Bug Report
SDL build fails with ENABLE_LOG=OFFF
Reproduction Steps
- Try to build SDL with cmake
-ENABLE_LOG=OFFflag
Expected Behavior
SDL is built successfully
Observed Behavior
Build failed
OS & Version Information
- OS/Version: Ubuntu 18.04
- SDL Core Version: https://github.com/smartdevicelink/sdl_core/tree/develop ( 1cd4126)
Test Case, Sample Code, and / or Example App
- Console log
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