delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/01/19:15:17.1

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem with .O file
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <15hfts4plrcsoapu9rfd8bs5p448dv05fc@4ax.com>
References: <zhPB5.27902$Sb1 DOT 503963 AT nlnews00 DOT chello DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 29
X-Trace: /KDWjckOzjK39l/fJUW/dnYyGRfyG/Ug53K9EhMaj9JpvI+3JMm1QlRPCo7BWGuBK9X+DJxhDjWq!kQWGanq1BkbUciNJd3mQuwRPwZbajuSUJD+bsNf5Mrdb58HMhg5guShZ6/z8WBmcWEJTABc7hZLp!2diRvw==
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Sun, 01 Oct 2000 23:13:30 GMT
Distribution: world
Date: Sun, 01 Oct 2000 23:13:30 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sun, 01 Oct 2000 22:55:27 GMT, "Wim Cools" <w DOT cools AT chello DOT nl>
wrote:

>I see the keyword _DoSomething__Fv instead of _DoSomething when I
>compile it in C-mode.  Because I'm using a Dynamic Link library

DJGPP doesn't support DLLs. Are you creating a static library (*.a)?

>Does anybody knowwhat this "__Fv" means

It's C++ name mangling.

>and how I can prevent the compiler from adding __Fv

extern "C" void blah()
{
  ...
}

The `extern "C"' will compile the function using C language calling
conventions.

-- 
<O
( \   GNOME vs. KDE: the game!
 X    http://pineight.8m.com/nes.htm

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019