[il-antlr-interest: 33999] Re: [antlr-interest] g++ compiler warnings on the generated lexer and parser .c files

2011-09-11 Thread Ruslan Zasukhin
On 9/11/11 9:12 PM, "Ruslan Zasukhin" wrote: For history: #pragma GCC diagnostic ignored "-Wunused-label" On some reason do not works I was able fix warnings from generated files and antrl.c files In the xcode * Selecting .c files * Get Info -> Build panel * Add these files: -Wno-all -Wno-

[il-antlr-interest: 33998] Re: [antlr-interest] g++ compiler warnings on the generated lexer and parser .c files

2011-09-11 Thread Ruslan Zasukhin
On 11/10/10 7:34 PM, "Jim Idle" wrote: > You probably need to suppress the warnings for that. The compiler will get rid > of them anyway. I thought that this was already done in the generated header > but perhaps a different pragma is required if compiling as C++. I also now take a look on how