www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/07/19/18:10:07

Xref: news-dnh.mv.net comp.os.msdos.djgpp:984
Path: news-dnh.mv.net!mv!news.sprintlink.net!tank.news.pipex.net!pipex!news.mathworks.com!newshost.marcam.com!usc!nic-nac.CSU.net!bobcat.csusm.edu!not-for-mail
From: tanksley AT owl DOT csusm DOT edu (Billy Tanksley)
Newsgroups: comp.os.msdos.djgpp
Subject: Objective-C questions
Date: 18 Jul 1995 21:41:29 -0700
Organization: California State University, San Marcos
Lines: 14
Nntp-Posting-Host: owl.csusm.edu
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

I'm having trouble compiling the standard Objective-C sample frogram 
(taken from the objective-c FAQ).  It uses exclusively the #import 
function to include files, which appears to offend the compiler.

Now, I don't mind the warning, since I can turn it off; the problem is, 
nothing ever gets included!  If I change the #import to #include, it 
works alright.  I just am wondering if there's a way under this wonderful 
compiler to compile standard Objective-C without having to edit every 
source file.

Why does GNU get so offended at a standard language feature?  It seems 
like telling C programmers to not use macro, use inline functions instead.

-Billy

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019