Forum: Ruby ruby.h and warning on redefined "PACKAGE_NAME"

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Oliver (Guest)
on 2007-07-19 22:11
(Received via mailing list)

if a C program have:

#include <ruby.h>

and autoconf'ed, which meaning it will generate another "config.h",
the compiler will report warning like:

/usr/lib/ruby/1.8/i486-linux/config.h:1:1: warning: "PACKAGE_NAME"

The reason being ruby.h include its config.h, and there is a empty
PACKAGE_NAME etc. defined there already.

Is there any way I can get rid of this warning?


This topic is locked and can not be replied to.