["Markus F.X.J. Oberhumer" <markus.oberhumer@jk.uni-linz.ac.at>] Bug#38311: <string.h> is not -Wconversion warning free

Ulrich Drepper drepper@cygnus.com
Thu May 27 08:24:00 GMT 1999


Andreas Schwab <schwab@issan.cs.uni-dortmund.de> writes:

> That's because the function is declared expecting char parameters, but
> strpbrk is passing ints due to the usual integer promotions.  This warning
> is completely useless

I agree.  We don't want to support this stupid warning.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


More information about the Libc-alpha mailing list