In case if you working on Windows environment for MySQL development (sometimes I use visual studio for easy debugging); and in case if you change the parser code (sql_yacc.yy) or if you are working directly from development branch (bzr launchpad), then the build breaks to generate the yacc files (sql_yacc.h and sql_yacc.cc) with an error bison: M4: Invalid argument as shown below:
1>------ Build started: Project: sql, Configuration: Debug Win32 ------ 1>Generating sql_yacc.h, sql_yacc.cc 2>------ Build started: Project: GenServerSource, Configuration: Debug Win32 ------ 2>Generating sql_yacc.h, sql_yacc.cc 1>bison: m4: Invalid argument 1>Project : error PRJ0019: A tool returned an error code from "Generating sql_yacc.h, sql_yacc.cc" 1>sql - 1 error(s), 0 warning(s) 2>bison: m4: Invalid argument … |