🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Wayne Folta Tue, 18 Aug 1992 00:43
g++ and non-g++ libs -- help
#189
Author: 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)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads