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


  • ... Patrick Cardona via Discussion list for the GNUstep programming environment
    • ... Daniel Boyd
    • ... Richard Frith-Macdonald
      • ... Patrick Cardona via Discussion list for the GNUstep programming environment
        • ... Svetlana Tkachenko
          • ... Umberto Cerrato
            • ... Svetlana Tkachenko
              • ... Umberto Cerrato
                • ... Umberto Cerrato
                • ... Svetlana Tkachenko

Reply via email to