Skip to content

Commit b05c2aa

Browse files
committed
Suppress format-invalid-specifier warnings as our PRIsVALUE generates them
1 parent 31b74b1 commit b05c2aa

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
@@ -72,6 +72,7 @@
7272
'-Wno-int-to-pointer-cast', # Same as above
7373
'-Wno-unused-value', # RB_GC_GUARD leaves
7474
'-Wno-incompatible-pointer-types', # Fix byebug 8.2.1 compile (st_data_t error)
75+
'-Wno-format-invalid-specifier', # Our PRIsVALUE generates this because compilers ignore printf extensions
7576
'-ferror-limit=500'
7677
].join(' ')
7778

0 commit comments

Comments
 (0)