Project

General

Profile

Actions

Bug #12469

closed

Compile error in date_parse.c

Added by duerst (Martin Dürst) almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.4.0dev (2016-06-07 trunk 55313) [x86_64-cygwin]
[ruby-core:75880]

Description

When compiling on cygwin with make up; make install-nodoc, I get the compile error below.

compiling date_parse.c
In file included from date_parse.c:340:0:
zonetab.list:425:1: error: ‘gnu_inline’ attribute present on ‘zonetab’
In file included from date_parse.c:340:0:
zonetab.list:6:34: error: but not here
 static inline const struct zone *zonetab();
                                  ^
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
make[2]: *** [Makefile:257: date_parse.o] Error 1
make[2]: Leaving directory '/cygdrive/c/Data/ruby/ext/date'
make[1]: *** [exts.mk:181: ext/date/all] Error 2
make[1]: Leaving directory '/cygdrive/c/Data/ruby'
make: *** [uncommon.mk:204: build-ext] Error 2
Actions

Also available in: Atom PDF

Like0
Like0Like0