Skip to content

Commit

Permalink
Drop -pedantic flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrack committed Aug 15, 2020
1 parent bdf17ae commit 0df6c84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/toolchain/scripts/generate_arch_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ WFLAGS_ERROR="-Werror=aliasing -Werror=ampersand -Werror=c-binding-type -Werror=
# we just warn for those (that eventually might be promoted to WFLAGSERROR). It is useless to put something here with 100s of warnings.
WFLAGS_WARN="-Wuninitialized -Wuse-without-only"
# while here we collect all other warnings, some we'll ignore
WFLAGS_WARNALL="-pedantic -Wall -Wextra -Wsurprising -Wunused-parameter -Warray-temporaries -Wcharacter-truncation -Wconversion-extra -Wimplicit-interface -Wimplicit-procedure -Wreal-q-constant -Wunused-parameter -Walign-commons -Wfunction-elimination -Wrealloc-lhs -Wcompare-reals -Wzerotrip"
# TODO: -Wpedantic with -std2008 requires an upgrade of the MPI interfaces from mpi to mpi_f08
WFLAGS_WARNALL="-Wno-pedantic -Wall -Wextra -Wsurprising -Wunused-parameter -Warray-temporaries -Wcharacter-truncation -Wconversion-extra -Wimplicit-interface -Wimplicit-procedure -Wreal-q-constant -Wunused-parameter -Walign-commons -Wfunction-elimination -Wrealloc-lhs -Wcompare-reals -Wzerotrip"

# IEEE_EXCEPTIONS dependency
IEEE_EXCEPTIONS_DFLAGS="-D__HAS_IEEE_EXCEPTIONS"
Expand Down Expand Up @@ -167,8 +168,7 @@ EOF
if [ "$__WARNALL" = "on" ] ; then
cat <<EOF >> $__filename
#
FCLOGPIPE = 2> \\\$(notdir \\\$<).warn
export LC_ALL=C
FCLOGPIPE = 2>&1 | tee \\\$(notdir \\\$<).warn
EOF
fi
if [ "$with_gcc" != "__DONTUSE__" ] ; then
Expand Down

0 comments on commit 0df6c84

Please sign in to comment.