HI,

Daniel Ferreira (theiostream) wrote:
In libobjc2, `nil` is defined as a null pointer cast to an `id`[1].
However, this breaks a lot of stuff targeted to Apple's libobjc which
relies on `nil` and `NULL` being interchangeable.

This is correct. nil is an "empty" object. Nil an empty class while NULL is just an empty pointer, inherited from C.

https://developer.apple.com/documentation/objectivec/objective_c_runtime/null_values


I've experimented removing that cast from the runtime.h header and
this works fine for compiling WebKit. This breaks libs-base and
libs-gui, though, with stuff like:

please share the errors.

Riccardo

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to