home › Forums › # Technical Support › Error while changing the compiler in cmakelist.txt › Reply To: Error while changing the compiler in cmakelist.txt
September 6, 2014 at 11:13
#1436
Keymaster
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.