From 37cf940001f548c3c3867c4905523dfadc73c7b5 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 18 Jul 2020 13:46:55 +0200 Subject: [PATCH] Only remove previous warning for gcc. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b7281b..62cb298 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13) project(pkmnLib) # Enable all warnings, and make them error when occurring. -add_compile_options(-Wall -Wextra -Werror -Wno-error=cast-function-type) +add_compile_options(-Wall -Wextra -Werror) # We like new stuff, so set the c++ standard to c++20. set(CMAKE_CXX_STANDARD 20)