Xref: utzoo comp.sys.next:5058 gnu.gcc:1351 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!mailrus!umich!umeecs!dip.eecs.umich.edu!telfeyan From: telfeyan@dip.eecs.umich.edu (Roland Telfeyan) Newsgroups: comp.sys.next,gnu.gcc Subject: Re: C compilers for NEXT Summary: clarifications Keywords: C, compiler, NEXT,MS-Windows Message-ID: <1458@zipeecs.umich.edu> Date: 15 Feb 90 09:24:55 GMT References: <642@cscnj.csc.COM> <25BCC24E.10018@paris.ics.uci.edu> Sender: news@zip.eecs.umich.edu Reply-To: roland@camerata.cpat.umich.edu Organization: University of Michigan CPAT, Ann Arbor, MI Lines: 33 In article <25BCC24E.10018@paris.ics.uci.edu> rfg@ics.uci.edu (Ron Guilmette) writes: >Sounds entirely bizzare. I'm not a `graphical interface' kinda guy, so I >should not really be commenting (because I don't know squat about MS-Windows >or about the windowing system on the NeXT... which I believe is X11) but Please! Why are you writing in a NeXT group if you don't even know what the screen looks like! >One footnote. I have recently learned that the NeXT system has become >incompatible with current versions of the GNU C compiler. > >The problem is that NeXT invented (or borrowed) a new type of preprocessor >directive that GCC doesn't know how to deal with (and never will). > >The directive is called "#import" and according to reports I have recieved, >this directive is being used within (at least some of) NeXT's "system" >include files (perhaps many of them). You know... the files that you >often have to include in typical C programs like , etc. Please! The #include directive is specific to Objective-C and only appears in appkit, musickit, and soundkit files, NOT any standard Unix files like sys/file.h! The cc on the NeXT is totally ANSI and will compile any vanilla C programs that you can compile in gcc on a Sun, for example. This is a hidden beauty of the NeXT object-oriented C language, Objective-C: that it is a PROPER SUPERSET of C, unlike ... (you're going to yell at me for comparing again) C++ (ahh, I said it). Roland Telfeyan Center for Performing Arts & Technology University of Michigan