Skip to content

Commit f4f1703

Browse files
committed
Ignore the -Wformat-extra-args clang warnings
* They are false positive due to clang ignoring printf extensions.
1 parent 46466ee commit f4f1703

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/truffle/rbconfig-for-mkmf.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
'-Wno-int-to-pointer-cast', # Same as above
7676
'-Wno-incompatible-pointer-types', # Fix byebug 8.2.1 compile (st_data_t error)
7777
'-Wno-format-invalid-specifier', # Our PRIsVALUE generates this because compilers ignore printf extensions
78+
'-Wno-format-extra-args', # Our PRIsVALUE generates this because compilers ignore printf extensions
7879
'-ferror-limit=500'
7980
].join(' ')
8081

0 commit comments

Comments
 (0)