From: Seebs Date: 2009-10-13T02:50:25+09:00 Subject: Re: Does ruby.h overrides C "enum"? On 2009-10-12, I�aki Baz Castillo wrote: > ---------------- > #include > int main(void) { > enum kk {NULL=0, NS=1, URL=2}; > } NULL is a symbol defined by the implementation, and defined by several of the standard headers (including ). Usually, it is either "0" or "(void *) 0" or something equivalent. > $ gcc file_b.c > file_b.c: In function ?main?: > file_b.c:3: error: expected identifier before ?(? token I'd bet you've got one where it's "(void *) 0". -s -- Copyright 2009, all wrongs reversed. Peter Seebach / usenet-nospam@seebs.net http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!