Project

General

Profile

Bug #14242 ยป ruby-2.5.0-template-prelude.c.tmpl.patch

Patch to fix the issue - yasuhirokimura (Yasuhiro KIMURA), 12/26/2017 01:15 PM

View differences:

template/prelude.c.tmpl 2017-12-26 13:03:26.155026277 +0000
static void
prelude_eval(VALUE code, VALUE name, int line)
{
#ifdef __GNUC__
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4))
# pragma GCC diagnostic push
# pragma GCC diagnostic error "-Wmissing-field-initializers"
#endif
......
FALSE, /* unsigned int coverage_enabled; */
0, /* int debug_level; */
};
#ifdef __GNUC__
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4))
# pragma GCC diagnostic pop
#endif
    (1-1/1)