I complie on Windows System.
And Cmake the CMakeLists in \sfntly\cpp\CMakeLists.txt.
I use the VS2019 to open the sln and found the commandline has "wur=attribute__((warn_unused_result)) -Wall -Werror -fno-exceptions".
At last, the reason is "set(GCC_OR_CLANG ((CMAKE_CXX_COMPILER_ID MATCHES "Clang") OR CMAKE_COMPILER_IS_GNUCXX))" doesn't work.
I complie on Windows System. And Cmake the CMakeLists in \sfntly\cpp\CMakeLists.txt. I use the VS2019 to open the sln and found the commandline has "wur=attribute__((warn_unused_result)) -Wall -Werror -fno-exceptions". At last, the reason is "set(GCC_OR_CLANG ((CMAKE_CXX_COMPILER_ID MATCHES "Clang") OR CMAKE_COMPILER_IS_GNUCXX))" doesn't work.