Project

General

Profile

Bug #12469

Compile error in date_parse.c

Added by duerst (Martin Dürst) over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
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

Updated by nobu (Nobuyoshi Nakada) over 4 years ago

  • Status changed from Open to Closed

Updated by usa (Usaku NAKAMURA) about 4 years ago

  • Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED

Also available in: Atom PDF