www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/04/12/17:39:20

From: Steve McConnel <steve AT acadcomp DOT sil DOT org>
Subject: #import does not work?
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Wed, 12 Apr 1995 15:34:17 -0500 (CDT)

TWIMC,

I've recently started playing with Objective C, using the GNU implementation
bundled with gcc.  The sample program provided as part of the FAQ for
comp.lang.objective-c failed to compile with DJGPP until I replaced every
#import with #include.  The same program compiles fine with gcc 2.6.3 on our
Sun workstation (SunOS 4.1.3_U1).  My DJGPP setup is the most recent one
available: gcc 2.6.3 and go32 1.12maint4.  I installed DJGPP in the default
directory (c:/djgpp) and have been using the default djgpp.env located
there.  Since the program compiles fine on SunOS but not on MS-DOS with the
exact same version of gcc on both platforms, I assume this must be a DJGPP
specific bug.  :-(

I could provide the sample program if needed, but this should be trivial to
reproduce.
--
Stephen McConnel                        steve AT acadcomp DOT sil DOT org
Academic Computing Department                or
Summer Institute of Linguistics         steve DOT mcconnel AT sil DOT org
7500 W. Camp Wisdom Road                phone: (214)709-3361
Dallas, TX 75236  U.S.A.                fax:   (214)709-3387

- Raw text -


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