Topic: Interfacing WATCOM C++ code with ASM


Author: eng10157@leonis.nus.sg (Choo Boon Kong)
Date: 12 Apr 1994 12:36:01 GMT
Raw View
Subject: Interfacing WATCOM C++ code with ASM
Newsgroups: comp.lang.c++
Summary:
Keywords:


 Hi there! I'm currently writing C++ code using WATCOM C/C++
compiler (for a protected mode application).  I got problems interfacing
C++ code with asm routines assembled with MASM.  With C code, I don't get
any errors.

 For example, I wrote a test program in C++ to add two numbers.
The summing routine (named summer) is written in asm code.  The warning &
error message is : Undefined reference to summer.  Could it be due to C++
name-mangling feature ?  Please enlighten me !!!

Best Regards

BK Choo