home Forums # Technical Support Error while changing the compiler in cmakelist.txt Reply To: Error while changing the compiler in cmakelist.txt

#1436

Hi,

In fuzzylite, I treat warnings as errors to make sure fuzzylite builds without warnings.

In your case, please remove the -Werror in CMakeLists.txt from the line:

if(UNIX)
    set(CMAKE_CXX_FLAGS "-pedantic -Werror -Wall -Wextra ${CMAKE_CXX_FLAGS}")

Let me know if you managed to build.