🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.objective-c
Article #397

Re: Objective C warnings

#397
From: D.A. Harris
Date: Fri, 25 Sep 1998 00:00
26 lines
1657 bytes
In article <6ueqfq$6s6$1@hubble.csuchico.edu>,
D.A. Harris <rodmur@ecst.csuchico.edu> wrote:
>
>Hi,
>
>Playing around with Objective C with EGCS 1.1b, I'm getting some warnings
>from the compiler that I don't understand:
>
>main.m: In function `main':
>main.m:18: warning: cannot find class (factory) method.
>main.m:18: warning: return type for `setClassStatus:' defaults to id
>main.m:26: warning: `Hello' does not respond to `setInstanceStatus:'
>main.m:27: warning: `Hello' does not respond to `setInstanceStatus:'
>main.m:32: warning: `Hello' does not respond to `setMessage:'
>main.m:33: warning: `Hello' does not respond to `setMessage:'

I figured out my problem, stupid mistake as usual, I didn't have the
proper instance method declarations in my @interface.  Course I would 
have thought that would have created a compiler error.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dale Harris  <rodmur@csuchico.edu>   PGP KeyID: E26EC5FD      
http://www.ecst.csuchico.edu/~rodmur/
|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|
Technical Details
Message-ID: <6ueuiq$fd1$1@hubble.csuchico.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6ueqfq$6s6$1@hubble.csuchico.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,96439cb51013035a
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1111a3,96439cb51013035a
X-Google-Attributes: gid1111a3,public
From: rodmur@ecst.csuchico.edu (D.A. Harris)
Subject: Re: Objective C warnings
Date: 1998/09/25
Message-ID: <6ueuiq$fd1$1@hubble.csuchico.edu>
X-Deja-AN: 394591342
References: <6ueqfq$6s6$1@hubble.csuchico.edu>
Organization: California State University, Chico
Followup-To: comp.lang.objective-c
Newsgroups: comp.lang.objective-c,gnu.gcc.help