lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>   Two errors, one warning.  The actual error?  A missing opening '{'.  The
> conventional wisdom was to ignore all reported errors except for the first
> one.  

My favorite is the reverse of that one, an extra open '{'. Often,
I write a new function and copy its header from the .c to the .h,
forgetting to change the '{' to ';'. In a large .c file, that simple
error makes gcc generate lots of warnings and errors. You have to
skip dozens of warnings just to get to the first error.

-- Roberto