Skip to content

Commit

Permalink
Remove gnu 13 warning file
Browse files Browse the repository at this point in the history
This is unnecessary as all the warnings are already set with -Wall
  • Loading branch information
derobins committed Oct 19, 2024
1 parent b193902 commit dee3b77
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
6 changes: 0 additions & 6 deletions config/cmake/HDFCompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -322,12 +322,6 @@ if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
# ADD_H5_FLAGS (H5_CFLAGS "${HDF5_SOURCE_DIR}/config/gnu-warnings/no-developer-12")
endif ()
endif ()

# Append more extra warning flags that only gcc 13.x+ knows about
# or which should only be enabled for gcc 13.x+
if (NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 13.0)
ADD_H5_FLAGS (H5_CFLAGS "${HDF5_SOURCE_DIR}/config/gnu-warnings/13")
endif ()
endif ()

#-----------------------------------------------------------------------------
Expand Down
10 changes: 0 additions & 10 deletions config/gnu-flags
Original file line number Diff line number Diff line change
Expand Up @@ -277,16 +277,6 @@ if test "X-gcc" = "X-$cc_vendor"; then
DEVELOPER_WARNING_CFLAGS="$DEVELOPER_WARNING_CFLAGS $(load_gnu_arguments developer-10)"
fi

# gcc >= 12
if test $cc_vers_major -ge 12; then
DEVELOPER_WARNING_CFLAGS="$DEVELOPER_WARNING_CFLAGS $(load_gnu_arguments developer-12)"
fi

# gcc >= 13
if test $cc_vers_major -ge 13; then
H5_CFLAGS="$H5_CFLAGS $(load_gnu_arguments 13)"
fi

#################
# Flags are set #
#################
Expand Down
2 changes: 0 additions & 2 deletions config/gnu-warnings/13

This file was deleted.

0 comments on commit dee3b77

Please sign in to comment.