Remove error cast function type warning.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
3235a99ff6
commit
f629c5fb81
|
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
|
||||||
project(pkmnLib)
|
project(pkmnLib)
|
||||||
|
|
||||||
# Enable all warnings, and make them error when occurring.
|
# Enable all warnings, and make them error when occurring.
|
||||||
add_compile_options(-Wall -Wextra -Werror)
|
add_compile_options(-Wall -Wextra -Werror -Wno-error=cast-function-type)
|
||||||
# We like new stuff, so set the c++ standard to c++20.
|
# We like new stuff, so set the c++ standard to c++20.
|
||||||
set(CMAKE_CXX_STANDARD 20)
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue