I dunno why the Compiler gives me " error: conflicting types for
‘rb_mod_findm’ " and " error: previous implicit declaration of
‘rb_mod_findm’ was here"
My code:
VALUE rb_mod_cwrap(VALUE some, VALUE somea, VALUE someb, VALUE somec,
VALUE somed, VALUE somee)
{
rb_mod_findm(someb,somee);
}
static void
rb_mod_findm(VALUE someb, VALUE somee)
{
printf(“worked”);
}
----- Original Message -----
From: [email protected]
To: “ruby-talk ML” [email protected]
Sent: Monday, November 19, 2007 11:49 AM
Subject: error: conflicting types for …
hey,
I dunno why the Compiler gives me " error: conflicting types for
‘rb_mod_findm’ " and " error: previous implicit declaration of
‘rb_mod_findm’ was here"
My code:
VALUE rb_mod_cwrap(VALUE some, VALUE somea, VALUE someb, VALUE somec,
VALUE
somed, VALUE somee)
{
rb_mod_findm(someb,somee);
}
static void
rb_mod_findm(VALUE someb, VALUE somee)
{
printf(“worked”);
}
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.