Why doesn the compiler like my flex output, or complains about wrong declarations?
Because most likely you are using a broken version of GNU flex. Basically, you have two choices to resolve the problem: a) you can stick with GNU flex and try using an outdated release of GCC, or b) you try replacing the (broken) GNU flex with a more compatible version available from http://lex.sf.net/.
Related Questions
- When I generate my business objects, I get a lot of compiler errors about "cannot convert from System.Data.SqlDbType to System.Data.DbType." What is wrong?
- I get compiler errors when trying to compile the provided code without changing anything. What is wrong?
- Why doesn the compiler like my flex output, or complains about wrong declarations?