[cfe-dev] Warning when comparing address of function or variable with constant?

Joerg Sonnenberger joerg at britannica.bec.de
Tue Jan 3 06:41:54 PST 2012


On Tue, Jan 03, 2012 at 03:14:10PM +0100, Ed Schouten wrote:
> The bug in this code is that we should have compared against idx -- not
> index. This works by accident, as index() is a function provided by our
> C library (BSD's strchr()).

PR 10169.

Joerg



More information about the cfe-dev mailing list