Actions
Bug #11601
closederror: implicit declaration of function ‘ENC_GET’
Description
When trying to compile Ruby trunk with
make up; make install-nodoc
I get the following errors:
compiling file.c
file.c: In function ‘rb_file_expand_path_internal’:
file.c:3561:2: error: implicit declaration of function ‘ENC_GET’ [-Werror=implicit-function-declaration]
encidx = ENC_GET(result);
^
file.c:3563:16: error: ‘ENCIDX_UTF_8’ undeclared (first use in this function)
if (encidx != ENCIDX_UTF_8 && rb_enc_str_coderange(result) != ENC_CODERANGE_7BIT) {
^
file.c:3563:16: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
Makefile:375: recipe for target 'file.o' failed
make: *** [file.o] Error 1
Updated by nobu (Nobuyoshi Nakada) over 8 years ago
- Status changed from Open to Closed
Applied in changeset r52192.
file.c: fix typos
- file.c (rb_file_expand_path_internal): fix typos.
[ruby-core:71111] [Bug #11601]
Actions
Like0
Like0