g++ -c -Wall -pedantic -Wno-long-long -Wno-unused-value -Wno-unused-function -Werror -D_REENTRANT -D_DEBUG -UNDEBUG -Dunix -DPANTHEIOS_NO_AUTO_INIT -I../../include -I"/opt/pantheios/stlsoft-1.9.114/include" -o bec.file.mt.debug.o ../../src/backends/bec.file.cpp
cc1plus: warnings being treated as errors
/opt/pantheios/stlsoft-1.9.114/include/unixstl/filesystem/filesystem_traits.hpp: In static member function ‘static stlsoft::unixstl_project::us_size_t stlsoft::unixstl_project::filesystem_traits<char>::get_full_path_name_impl2(const stlsoft::unixstl_project::us_char_a_t*, stlsoft::unixstl_project::us_size_t, stlsoft::unixstl_project::us_char_a_t*, stlsoft::unixstl_project::us_size_t)’:
/opt/pantheios/stlsoft-1.9.114/include/unixstl/filesystem/filesystem_traits.hpp:1186: warning: control reaches end of non-void function
make: *** [bec.file.mt.debug.o] Error 1
I added return to line 1186
it's on version stlsoft-1.9.114