non-c89 code in bitmap.c
Daniel Berlin
dan@www.cgsoftware.com
Fri Jun 22 21:18:00 GMT 2001
On Fri, 22 Jun 2001 dalej@apple.com wrote:
> My understanding is that the code is supposed to be c89. Some that
> isn't has crept into bitmap.c recently; here is a fix. OK?
Sorry, that's my fault.
I wasn't aware c89 didn't allow this.
It seems to be an obvious fix to me.
>
>
> 2001-06-22 Dale Johannesen <dalej@apple.com>
>
> * bitmap.c: fix a non-c89 usage (null actual argument to macro)
>
> Index: bitmap.c
> ===================================================================
> RCS file: /cvs/repository/CoreTools/gcc3/gcc/bitmap.c,v
> retrieving revision 1.1.1.3
> diff -u -d -b -w -r1.1.1.3 bitmap.c
> --- bitmap.c 2001/06/21 17:57:08 1.1.1.3
> +++ bitmap.c 2001/06/22 19:13:23
> @@ -707,7 +707,7 @@
> bitmap a;
> {
> int i;
> - EXECUTE_IF_SET_IN_BITMAP (a, 0, i, );
> + EXECUTE_IF_SET_IN_BITMAP (a, 0, i, ;);
> if (bitmap_bit_p (a, i))
> return i;
> return -1;
>
More information about the Gcc-patches
mailing list