🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.objective-c
Article #410

Re: Q: combining ObjC and C++ using gcc

#410
From: Niels Moller
Date: Thu, 15 Jun 1995 00:00
26 lines
1600 bytes
In article <1995Jun14.070813.4109@wavehh.hanse.de> cracauer@wavehh.hanse.de (Martin Cracauer) writes:

   Lorenzo De Leon <lorenzod@mcs.com> writes:

   >cracauer@wavehh.hanse.de (Martin Cracauer) wrote:
   >>Ted.Belding@umich.edu (Theodore C. Belding) writes:
   >>
   >>>The NeXTSTEP manual _Object-oriented programming and the 
   >>>objective C language_ by NeXT says on p173-176 that C++ code
   >>>can be combined with Objective C code using their compiler.

...

   >A .M (versus a .m) file can have both Objective C and C++. The object 
   >structures are different of course.

   My gcc-2.6.3-ObjC-Patches doesn't even recognize *.M as source file at
   all. It's hard to beleive anyway since there is no common
   parser. Where does this information come from?

   Martin

Perhaps he's refering to NeXT's compiler? As far as I know, the
mixture of Objective-C and C++, called "Objective-C++", is supported
in the NeXT compiler, and not in the plain GNU compiler, or any other
compiler. 
Technical Details
Message-ID: <Y90NIEMO.95Jun15233259@freya.isy.liu.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <Ted.Belding-0906951602450001@pm051-09.dialip.mich.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,adcdca2d0a2e1d3
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1111a3,adcdca2d0a2e1d3
X-Google-Attributes: gid1111a3,public
From: y90niemo@freya.isy.liu.se (Niels Moller)
Subject: Re: Q: combining ObjC and C++ using gcc
Date: 1995/06/15
Message-ID: <Y90NIEMO.95Jun15233259@freya.isy.liu.se>
X-Deja-AN: 104467168
references: <Ted.Belding-0906951602450001@pm051-09.dialip.mich.net>
content-type: text/plain; charset=iso-8859-1
mime-version: 1.0
newsgroups: comp.lang.objective-c,gnu.gcc.help