Project

General

Profile

Actions

Bug #1382

closed

inline functions ought to be static

Added by roberto (Ollivier Robert) over 15 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-04-14) [i386-darwin9.6.0]
Backport:
[ruby-core:23210]

Description

=begin
While compiling Ruby with ongoing versions of clang/llvm, it appeared that rb_reserved_word, an inline function in lex.c.blt which is included in parse.y is not declared as static as it apparently should (C99). gcc supports it. Fix Ruby for clang.
=end


Files

static.diff (596 Bytes) static.diff Patch to add "static" to rb_reserved_word roberto (Ollivier Robert), 04/15/2009 06:12 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0