From 4219ace7d57b92cf0d443a2eddac9aefc430e847 Mon Sep 17 00:00:00 2001 From: William Dawson Date: Wed, 15 Nov 2023 13:41:03 +0900 Subject: [PATCH] Turn off Werror Apparently the version of gfortran on github CI is so absurdly broken that it gives a warning about C++ style comments in a Fortran file... --- Targets/Linux.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Targets/Linux.cmake b/Targets/Linux.cmake index 9222af4d..8fb93c1e 100644 --- a/Targets/Linux.cmake +++ b/Targets/Linux.cmake @@ -18,6 +18,6 @@ set(CXX_TOOLCHAINFLAGS_DEBUG "-O0 -fopenmp -Wall -Wextra \ -Wdouble-promotion -Woverloaded-virtual -Wmisleading-indentation \ -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wuseless-cast \ -Wsign-conversion -Wconversion -Wcast-align -Wold-style-cast") -set(F_TOOLCHAINFLAGS_DEBUG "-O0 -cpp -fcheck=all -Wall -Wextra -Werror \ +set(F_TOOLCHAINFLAGS_DEBUG "-O0 -cpp -fcheck=all -Wall -Wextra \ -pedantic -fimplicit-none -ffpe-trap=invalid,zero,overflow,underflow \ -std=f2003")