On Tue, 7 Jun 2011, Cristian Rodríguez wrote:
El 07/06/11 05:07, Richard Guenther escribió:
On Mon, 6 Jun 2011, Cristian Rodríguez wrote:
El 06/06/11 21:52, Cristian Rodríguez escribió:
Hi:
Is there any way to enable some kind of preprocessor basic sanity checks... ? found a package that used
#defina instead of #define .. and no warning was emitted ..
hints ?
By basic sanity check I meant error/warning messages which can be understood by mere simple human beings from planet earth like this ones : http://blog.llvm.org/2010/04/amazing-feats-of-clang-error-recovery.html
*ehem*
You mean you know human beings as simple that they do not understand
t.c:1:2: error: invalid preprocessing directive #defina
?
Ahhh.. sorry.. now I see the problem
#ifdef foo .. blabla #else ... #defina
and foo is defined ;)
_I_ still don't see your problem ;) Do you want a warning from the preprocessor for #defina in this case? Richard.