[ruby-core:102325] [Ruby master Bug#17582] Build failure with bison-3.7.5
From:
nagachika00@...
Date:
2021-01-30 11:52:28 UTC
List:
ruby-core #102325
Issue #17582 has been updated by nagachika (Tomoyuki Chikanaga).
Backport changed from 2.5: UNKNOWN, 2.6: REQUIRED, 2.7: REQUIRED, 3.0: REQUIRED to 2.5: UNKNOWN, 2.6: REQUIRED, 2.7: DONE, 3.0: REQUIRED
ruby_2_7 7332b3f367ce61089bf571fa1c458fde06a11eab merged revision(s) b091889ed67f278b1652ddde88596e2160d5aef0.
----------------------------------------
Bug #17582: Build failure with bison-3.7.5
https://bugs.ruby-lang.org/issues/17582#change-90178
* Author: hsbt (Hiroshi SHIBATA)
* Status: Closed
* Priority: Normal
* Backport: 2.5: UNKNOWN, 2.6: REQUIRED, 2.7: DONE, 3.0: REQUIRED
----------------------------------------
I got the following error with bison 3.7.5 provided by homebrew on macOS Catalina.
```
parse.y:13337:5: error: implicit declaration of function 'YYUSE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
YYUSE(p);
^
1 error generated.
make: *** [parse.o] Error 1
make: *** Waiting for unfinished jobs....
```
I could build with bison-2.3 provided by system toolchain by macOS.
--
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>