discuss-gnustep
[Top][All Lists]
Advanced

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

Objective-C Beginner's Guide


From: Patrick Cardona
Subject: Objective-C Beginner's Guide
Date: Sun, 31 May 2020 21:52:45 +0200
User-agent: GNUMail (Version 1.3.0)

Hi All experienced Objective-C Dev

I begun this Beginner Guide about Objective C :

http://gnustep.made-it.com/BG-objc/

But my beginning is not glorious...

pi@raspberrypi:~/CoursObjectiveC $ ls
hello  hello.m
pi@raspberrypi:~/CoursObjectiveC $ gcc -lobjc hello.m -o hello
hello.m: In function ‘main’:
hello.m:39:2: warning: ‘Greeter’ may not respond to ‘+new’
  myGreeter=[Greeter new];
  ^~~~~~~~~
hello.m:39:2: warning: (Messages without a matching method signature
hello.m:39:2: warning: will be assumed to return ‘id’ and accept
hello.m:39:2: warning: ‘...’ as arguments.)
hello.m:43:2: warning: no ‘-free’ method found
  [myGreeter free];
  ^
pi@raspberrypi:~/CoursObjectiveC $ ./hello
Erreur de segmentation

Is this Beginner's Guide up to date ?

Regards

-- 
Bien cordialement,
Patrick CARDONA




reply via email to

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