Skip to content

SDL build fails with ENABLE_LOG=OFF #3588

@dboltovskyi

Description

@dboltovskyi

Bug Report

SDL build fails with ENABLE_LOG=OFFF

Reproduction Steps
  1. Try to build SDL with cmake -ENABLE_LOG=OFF flag
Expected Behavior

SDL is built successfully

Observed Behavior

Build failed

OS & Version Information
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions