Skip to content

Commit fb0bb84

Browse files
committed
ignore additional warning from spdlog with gcc 14
1 parent 13b5c2c commit fb0bb84

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

recipe/patches/0002-Ignore-warnings-in-event.cc-and-logging.cc.patch

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ index 13774dda7c..575538c5f1 100644
1515
# Ignore warnings for protobuf generated files and external projects.
1616
build --per_file_copt="\\.pb\\.cc$@-w"
1717
build --per_file_copt="src/ray/thirdparty/.*$@-w"
18-
+# Ignore one specific warning
18+
+# Ignore some pecific warnings
1919
+build --per_file_copt="event\\.cc$@-w"
2020
+build --per_file_copt="logging\\.cc$@-w"
21-
build:linux --per_file_copt="-\\.(asm|S)$,external/.*@-w,-Wno-error=implicit-function-declaration,-Wno-error=unused-function"
21+
-build:linux --per_file_copt="-\\.(asm|S)$,external/.*@-w,-Wno-error=implicit-function-declaration,-Wno-error=unused-function"
22+
+build:linux --per_file_copt="-\\.(asm|S)$,external/.*@-w,-Wno-error=implicit-function-declaration,-Wno-error=unused-function,-Wno-error=dangling-reference"
2223
build:macos --per_file_copt="-\\.(asm|S)$,external/.*@-w,-Wno-error=implicit-function-declaration,-Wno-error=unused-function,-Wno-missing-template-arg-list-after-template-kw"
2324
# Ignore warnings for host tools, which we generally can't control.
25+
# Ideally we only want to ignore warnings for external project
2426
--
2527
2.43.0
2628

0 commit comments

Comments
 (0)