mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.0541: Travis CI does not give compiler warnings
Problem: Travis CI does not give compiler warnings. Solution: Add flags for warnings. Fix uncovered problems. (Ozaki Kiichi, closes #5898)
This commit is contained in:
@@ -99,6 +99,12 @@
|
||||
# define rb_ary_detransient rb_ary_detransient_stub
|
||||
#endif
|
||||
|
||||
// On macOS pre-installed Ruby defines "SIZEOF_TIME_T" as "SIZEOF_LONG" so it
|
||||
// conflicts with the definition in config.h then causes macro-redifned warning.
|
||||
#ifdef SIZEOF_TIME_T
|
||||
# undef SIZEOF_TIME_T
|
||||
#endif
|
||||
|
||||
#include <ruby.h>
|
||||
#if RUBY_VERSION >= 19
|
||||
# include <ruby/encoding.h>
|
||||
|
Reference in New Issue
Block a user