Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!uxc!deimos.cis.ksu.edu!rutgers!att!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.lang.c++ Subject: Re: C --> C++ Message-ID: <9294@alice.UUCP> Date: 3 May 89 21:12:33 GMT References: <6590096@hplsla.HP.COM> <11437@ulysses.homer.nj.att.com> <578@hrc63.co.uk> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 12 In article <578@hrc63.co.uk>, pj@hrc63.co.uk (Mr P Johnson "Baddow") writes: > Yes, but I should be able to tell the compiler "dont mangle this function > name". A #pragma or something. It would still be callable from C++ (via > the `extern "C"' mechanism). The following works in AT&T C++ 2.0: extern "C" void f() { /* stuff */ } -- --Andrew Koenig ark@europa.att.com