• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New Cocoa Programmer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Cocoa Programmer


  • Subject: Re: New Cocoa Programmer
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 12 Nov 2001 14:33:21 +0100

Marcel,

>>>>>> Marcel Weiher (MW) wrote at Mon, 12 Nov 2001 11:46:48 +0100:
MW> That's OK. I am positive that factory objects could be referenced
MW> directly...

I am sorry, but they could not. Neither in OS X Server 1:

208 /tmp\> cat q.m
#import <objc/Object.h>

void main() {
printf("%x %x\n",[Object class],Object);
}
209 /tmp\> cc -v
Reading specs from /usr/libexec/ppc/2.7.2.1/specs
Apple Computer, Inc. version cc-783.1, based on gcc version 2.7.2.1
210 /tmp\> cc q.m
q.m: In function `main':
q.m:4: parse error before `)'
211 /tmp\>

nor in much older NS3.3:

31 /Net/g4/tmp> cc -v
Reading specs from /lib/m68k/specs
NeXT Computer, Inc. version cc-437.2.6, gcc version 2.5.8
32 /Net/g4/tmp> cc q.m
q.m: In function `main':
q.m:4: parse error before `Object'
33 /Net/g4/tmp>

I can't check in NS<3.3 anymore, alas.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc


References: 
 >Re: New Cocoa Programmer (From: Marcel Weiher <email@hidden>)

  • Prev by Date: Re: New Cocoa Programmer
  • Next by Date: NSApplicationMain
  • Previous by thread: Re: New Cocoa Programmer
  • Next by thread: Re: New Cocoa Programmer
  • Index(es):
    • Date
    • Thread