Skip to content

Commit

Permalink
Update to gcc-14, add -Wno-nan-infinity-disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
claywar committed May 16, 2024
1 parent 088ab4a commit d5ca218
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ Checks: >
modernize-use-override,
performance-*,
# TODO
-nan-infinity-disabled
# TODO: Enable these
# concurrency-mt-unsafe,
# cppcoreguidelines-prefer-member-initializer,
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ jobs:
exit 1
fi
Linux_GCC13_64bit:
Linux_GCC14_64bit:
needs: Sanity_Checks
runs-on: ubuntu-24.04
steps:
Expand All @@ -276,8 +276,8 @@ jobs:
# key: ${{ runner.os }}-gcc
- name: Configure CMake
run: |
export CC=/usr/bin/gcc-13
export CXX=/usr/bin/g++-13
export CC=/usr/bin/gcc-14
export CXX=/usr/bin/g++-14
mkdir -p build
CFLAGS=-m64 CXXFLAGS=-m64 LDFLAGS=-m64 cmake -S . -B build
- name: Build
Expand Down
1 change: 1 addition & 0 deletions cmake/CompilerWarnings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function(set_project_warnings project_name)
-Wno-unused-parameter # warn on unused function parameters
-Wno-missing-field-initializers
-Wno-sign-compare
-Wno-nan-infinity-disabled

# TODO: This is good, but it's Clang only
# -Wunused-private-field # warn on unused private fields
Expand Down

0 comments on commit d5ca218

Please sign in to comment.