Project

General

Profile

Actions

Bug #15069

closed

Backport "suppress warning: 'const' attribute on function returning 'void' "

Added by larskanis (Lars Kanis) about 6 years ago. Updated about 6 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.4p296 (2018-03-28 revision 63013) [x64-mingw32]
[ruby-core:88835]

Description

The files include/ruby/intern.h and include/ruby/ruby.h are used for extension builds, and when a recent gcc is called with -Wall, the build fails. This can cause failures with mkmf for instance in pkg_config() lookup.

The resolving commit to ruby-2.5 was: https://github.com/ruby/ruby/commit/027b576b31cd12bad575b3a39476726273f58c41
Can this commit please be backported to older ruby versions?

This patch is also used for RubyInstaller-2.4.

Updated by shyouhei (Shyouhei Urabe) about 6 years ago

  • Status changed from Open to Closed

(Changing status to closed; it triggers backporting process. This doesn't mean rejection.)

Actions #2

Updated by nagachika (Tomoyuki Chikanaga) about 6 years ago

  • Backport changed from 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN to 2.3: UNKNOWN, 2.4: REQUIRED, 2.5: DONE

Updated by usa (Usaku NAKAMURA) about 6 years ago

  • Backport changed from 2.3: UNKNOWN, 2.4: REQUIRED, 2.5: DONE to 2.3: UNKNOWN, 2.4: DONE, 2.5: DONE

ruby_2_4 r65109 merged revision(s) 61323.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0