delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/13/23:41:10

Message-ID: <364D09BB.1DA3613A@montana.com>
Date: Fri, 13 Nov 1998 21:40:27 -0700
From: bowman <bowman AT montana DOT com>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: NASM "name mangling"
References: <72ifbf$4qm$1 AT news DOT metronet DOT de>
Reply-To: djgpp AT delorie DOT com


Felix wrote:
> 
> I'm using NASM 0.97 and I'm having problems with the "name mangling" feature
> test.cpp:
> extern int nasmtest(int* x, int* y);

try:

extern "C" int nasmtest(int*x, int* y); 

and leave the assembler name alone.

- Raw text -


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