Project

General

Profile

Bug #15728

error compiling C - file under Ruby

Added by Shved (Aleksandr Shved) 3 months ago. Updated 2 months ago.

Status:
Feedback
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));

History

Updated by naruse (Yui NARUSE) 2 months ago

  • Status changed from Open to Feedback

This issue depends what compiler is used.
Could you show what is your compiler and environment?

Also available in: Atom PDF