From: "Iñaki Baz Castillo" Date: 2009-10-12T23:17:08+09:00 Subject: Re: Does ruby.h overrides C "enum"? El Lunes, 12 de Octubre de 2009, Iñaki Baz Castillo escribió: > Hi, writting a Ruby C extension (for 1.8 or 1.9) I get an error when using > "enum": > > #include "ruby.h" > int void(void) { > enum kk {ONE, TWO, THREE}; // line 3 > } > > line 3: error: expected identifier before ‘(’ token > > > It doesn't occur if I quit "ruby.h". What is happening? opss, the same error occurs if I add "#include ". -- Iñaki Baz Castillo