[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

ruby.h and warning on redefined "PACKAGE_NAME"

Oliver

7/19/2007 6:08:00 PM

hi,

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

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?

thanks

oliver