Project

General

Profile

Actions

Bug #5459

closed

Silence -Wmissing-declarations and -Wold-style-definition warnings in mkmf

Added by now (Nikolai Weibull) over 12 years ago. Updated over 12 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2011-09-13 revision 33263) [i386-mingw32]
Backport:
[ruby-core:40200]

Description

The attached patch silences -Wmissing-declarations and -Wold-style-definition warnings in c files generated by mkmf. This is required, as mkmf uses $CFLAGS when running the c compiler on the generated c files.


Files

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0