This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: may be undefined operation warning
- From: John Love-Jensen <eljay at adobe dot com>
- To: Wesley Smith <wesley dot hoke at gmail dot com>, GCC-help <gcc-help at gcc dot gnu dot org>
- Date: Mon, 25 Feb 2008 06:55:25 -0600
- Subject: Re: may be undefined operation warning
Hi Wesley,
> Any ideas? Thanks,
The warning is basically from this:
*c++ = *c;
The solution is "don't do that".
uchar tmp = *c;
*c++ = MAX_CHAR(tmp, accum);
HTH,
--Eljay