[ruby-core:76703] [Ruby trunk Bug#12469] Compile error in date_parse.c

From: usa@...
Date: 2016-08-04 06:52:50 UTC
List: ruby-core #76703
Issue #12469 has been updated by Usaku NAKAMURA.

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

----------------------------------------
Bug #12469: Compile error in date_parse.c
https://bugs.ruby-lang.org/issues/12469#change-59921

* Author: Martin Dürst
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: ruby 2.4.0dev (2016-06-07 trunk 55313) [x86_64-cygwin]
* Backport: 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED
----------------------------------------
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
```



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next