[OGo-Developer] Method not in header file

Adam Tauno Williams developer@opengroupware.org
Thu, 28 Jun 2007 08:54:24 -0400


--=-t+83F6SI5uji/nnIoewq
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

LSFoundation/OGoObjectLink.m contains the method:

- (BOOL)isEqualToObjectLink:(OGoObjectLink *)_other

But this method does not appear in LSFoundation/OGoObjectLink.h

I use this method in zOGI, which works, but when I compile I get the
warning:
zOGIAction+Object.m: In function =E2=80=98-[zOGIAction(Object)
_saveObjectLinks:forObject:]=E2=80=99:
zOGIAction+Object.m:238: warning: no =E2=80=98-isEqualToObjectLink:=E2=80=
=99 method
found
zOGIAction+Object.m:238: warning: (Messages without a matching method
signature
zOGIAction+Object.m:238: warning: will be assumed to return =E2=80=98id=E2=
=80=99 and
accept
zOGIAction+Object.m:238: warning: =E2=80=98...=E2=80=99 as arguments.)

Is there a reason this method is not in the header file?  Adding it
makes the warning go away.

--=-t+83F6SI5uji/nnIoewq
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBGg6+ALRePpNle04MRAlljAJ0XCY3bGIgcfArSNqgxba+BoBCeeACfQ0x6
JKw/yDDkptSAQFiaoUgfu00=
=jFAd
-----END PGP SIGNATURE-----

--=-t+83F6SI5uji/nnIoewq--