[ruby-core:92363] [Ruby trunk Bug#15728] error compiling C - file under Ruby

From: naruse@...
Date: 2019-04-22 10:32:43 UTC
List: ruby-core #92363
Issue #15728 has been updated by naruse (Yui NARUSE).

Status changed from Open to Feedback

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

----------------------------------------
Bug #15728: error compiling C - file under Ruby
https://bugs.ruby-lang.org/issues/15728#change-77708

* Author: Shved (Aleksandr Shved)
* Status: Feedback
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.6.2
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
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));




-- 
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