gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

warning in base with gcc


From: Riccardo Mottola
Subject: warning in base with gcc
Date: Thu, 2 Jan 2020 00:05:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1

Hi!


when compiling base with GCC I see this warning

NSOperation.m: In function '-[NSBlockOperation main]':
NSOperation.m:581:19: warning: assignment to 'GSBlockOperationBlock' {aka 'struct <anonymous> *'} from incompatible pointer type 'i' [-Wincompatible-pointer-types]
   while((theBlock = [en nextObject]) != NULL)


maybe it is bogus with our block macros, but why?

I wonder what the type "i" is.


Riccardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]