EASTL icon indicating copy to clipboard operation
EASTL copied to clipboard

Not built under MinGW-w64

Open native-engine opened this issue 1 year ago • 2 comments

Error Log:

[  9%] Building CXX object CMakeFiles/EASTL.dir/source/assert.cpp.obj
In file included from /run/media/johndoe/Works/Native-Engine/Engine-Sources/Engine-SDK/builds/EASTL-3.21.23/include/EASTL/string.h:133,
                 from /run/media/johndoe/Works/Native-Engine/Engine-Sources/Engine-SDK/builds/EASTL-3.21.23/source/assert.cpp:7:
/run/media/johndoe/Works/Native-Engine/Engine-Sources/Engine-SDK/builds/EASTL-3.21.23/include/EASTL/internal/char_traits.h: In function «constexpr bool eastl::details::UseNativeWideChar()»:
/run/media/johndoe/Works/Native-Engine/Engine-Sources/Engine-SDK/builds/EASTL-3.21.23/include/EASTL/internal/char_traits.h:46:17: error: no return statement in «constexpr» function returning non-void
   46 |                 }
      |                 ^
make[2]: *** [CMakeFiles/EASTL.dir/build.make:92: CMakeFiles/EASTL.dir/source/assert.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/EASTL.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

OS: 64-bit Manjaro Linux

native-engine avatar Sep 03 '24 23:09 native-engine

the same error, have you solved it yet?

brealisty avatar Mar 09 '25 09:03 brealisty

add "return false;" at the last line in this function

yysunq avatar Mar 25 '25 06:03 yysunq

Thanks for the report, this should be fixed as of 0b8a2593007f6ea6a565bb5822f4545633cae496. Please re-open with details is this is still an issue.

grojo-ea avatar Aug 03 '25 18:08 grojo-ea