Skip to content

Commit 2ee81e7

Browse files
committed
Suppress format-invalid-specifier warnings as our PRIsVALUE generates them
PullRequest: truffleruby/751
2 parents b9d5779 + b05c2aa commit 2ee81e7

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
@@ -71,6 +71,7 @@
7171
'-Wno-int-conversion', # MRI has VALUE defined as long while we have it as void*
7272
'-Wno-int-to-pointer-cast', # Same as above
7373
'-Wno-incompatible-pointer-types', # Fix byebug 8.2.1 compile (st_data_t error)
74+
'-Wno-format-invalid-specifier', # Our PRIsVALUE generates this because compilers ignore printf extensions
7475
'-ferror-limit=500'
7576
].join(' ')
7677

0 commit comments

Comments
 (0)