Project

General

Profile

Bug #15728

error compiling C - file under Ruby

Added by Shved (Aleksandr Shved) 26 days ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:91990]

Description

Compiler message
/usr/local/include/ruby-2.6.0/ruby/intern.h:506:10: error: expected ‘,’ or ‘;’ before ‘void’
COLDFUNC NORETURN(void rb_memerror(void));
The specified line contains:
COLDFUNC NORETURN(void rb_memerror(void));
And so the compilation goes without errors
COLDFUNC (void rb_memerror(void));

Also available in: Atom PDF