🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #189

g++ and non-g++ libs -- help

#189
From: Wayne Folta
Date: Tue, 18 Aug 1992 00:43
19 lines
1042 bytes
I just got g++ up, but the person who got it to me forgot to supply libg++.
While I am waiting for this, I decided to try my hand at c++, without the
cannonical c++ libraries. The problem is that I cannot link to non-g++
routines.

If I declare strncpy, for example:

   extern char *strncpy (char *, const char*, int) ;

g++ creates _strncpy__FPcPCci, which, of course, does not exist. I understand
that the suffixed letters are simply abbreviations for the types of arguments
that I declared, but how do I keep g++ from doing this appending? I could
not find anything in the manual page or the texinfo document.

Thanks!
-- 


Wayne Folta          (folta@cs.umd.edu  128.8.128.8)
Technical Details
Message-ID: <59730@mimsy.umd.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!mimsy!folta

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!mimsy!folta
From: folta@cs.umd.edu (Wayne Folta)
Newsgroups: gnu.g++.help
Subject: g++ and non-g++ libs -- help
Message-ID: <59730@mimsy.umd.edu>
Date: 18 Aug 92 00:43:57 GMT
Sender: news@mimsy.umd.edu
Distribution: na
Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
Lines: 19