El Lunes, 12 de Octubre de 2009, angico escribió: > Are you sure the typo was only in the mail? If I copy and paste this code > in a file and try to compile it, the compiler complains about the same > error, because void is a reserved keyword in C. But when I change that > "void(void)" into "main(void)" it compiles ok. ok, let's try it: file_a.c ---------------- int main(void) { enum kk {NULL=0, NS=1, URL=2}; } ---------------- It compiles ok. Now: file_b.c ---------------- #include <stdio.h> int main(void) { enum kk {NULL=0, NS=1, URL=2}; } ---------------- $ gcc file_b.c file_b.c: In function ain file_b.c:3: error: expected identifier before ¡Æ(¡Ç token ?? PS: It seems to be a problem not related to Ruby. -- Iaki Baz Castillo <ibc / aliax.net>