Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!spool.mu.edu!news.cs.indiana.edu!cica!ogre!gribble From: gribble@ogre.cica.indiana.edu Newsgroups: comp.lang.c++ Subject: Re: bug with making C++ functions have C linkage ? Message-ID: <1991Apr18.013850.27005@cica.indiana.edu> Date: 18 Apr 91 01:38:50 GMT References: <1991Apr16.122905.23613@cs.nott.ac.uk> Sender: news@cica.indiana.edu (News System) Organization: Indiana University Lines: 9 Nntp-Posting-Host: ogre.cica.indiana.edu I think you have it backwards--use extern to link C functions to C++. It has to do w/ "name-mangling"--something C++ does to function names. -- ************************************************************************** * Steve Gribble (812) 855-9172/7629 gribble@cica.cica.indiana.edu * Systems Manager, Inst. of Social Research swg@socmail.soc.indiana.edu * Dept. of Sociology, Indiana University gribble@iubacs