[antlr-interest] C runtime intel compiler warning

Richard Gildea rgildea at googlemail.com
Sat May 8 10:15:17 PDT 2010


Hi,

Compiling the C runtime libraries (version 3.2) on Linux with the
Intel compiler (icc 11.1) causes the following warning:

/src/antlr3baserecognizer.c(589):

  warning #186: pointless comparison of unsigned integer with zero

  		if	(recognizer->state->following->vector->count >= 0)

This looks like it could potentially be a bug in the code, since the
statement will always be true for an unsigned integer.

Thanks,

Richard


More information about the antlr-interest mailing list