|
Re: syntax error using enum{}
That was indeed the error.
Yeah, the compiler is low on helpfulness. I accidentally created a local variable that shadowed a global variable but it gave no warning.
Is there a way to increase the number of warnings for the compiler? Like gcc -Wall?
__________________
Trenton Tornadoes 381
2004 Philadelphia Regional Winners
2006 Xerox Creativity Award
---
My corner of the USPTO.
My favorite error message from gcc: main is usually a function
My favorite error message from Windows: There is not enough disk space available to delete this file.
|