This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: ["Markus F.X.J. Oberhumer" <markus.oberhumer@jk.uni-linz.ac.at>] Bug#38311: <string.h> is not -Wconversion warning free
- To: Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
- Subject: Re: ["Markus F.X.J. Oberhumer" <markus.oberhumer@jk.uni-linz.ac.at>] Bug#38311: <string.h> is not -Wconversion warning free
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 27 May 1999 08:22:38 -0700
- Cc: Andreas Jaeger <aj@arthur.rhein-neckar.de>, libc-alpha Mailinglist <libc-alpha@sourceware.cygnus.com>, "Markus F.X.J. Oberhumer" <markus.oberhumer@jk.uni-linz.ac.at>
- References: <u8u2t0fmn5.fsf@arthur.rhein-neckar.de> <vyzd7zmrjtv.fsf@issan.cs.uni-dortmund.de>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
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 `------------------------