Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!ucbvax!ulysses!ggs From: ggs@ulysses.att.com (Griff Smith) Newsgroups: comp.lang.c++ Subject: Re: extern "C" Summary: it works, modulo aesthetics Message-ID: <13870@ulysses.att.com> Date: 11 Oct 90 02:01:52 GMT References: <1990Oct10.062518.23722@cs.nott.ac.uk> Organization: AT&T Bell Laboratories, Murray Hill Lines: 19 In article <1990Oct10.062518.23722@cs.nott.ac.uk>, gas@cs.nott.ac.uk (Alan Shepherd) writes: > > I've had several responses to my original question about extern "C"... > ... However, all the solutions seem to rule out the possibility of using C > header files within C++. > > Alan Shepherd I'm not sure what you're basing this on, since AT&T C++ 2.0 uses standard C header files inside C++ wrappers that discard the useless C function definitions. If you have seen this solution and object to the aesthetics, so be it. Given that the wrapper would be necessary anyway to supply declarations with full type checking, I find it hard to quibble about the details. -- Griff Smith AT&T (Bell Laboratories), Murray Hill Phone: 1-201-582-7736 UUCP: {most AT&T sites}!ulysses!ggs Internet: ggs@ulysses.att.com