Coder's Guild Mailing List

can't link obj with Watcom C++

Posted by Dmitry Uvarov on 1999-07-12

Hi
i have a problem linking external object file written in TASM with my
program on Watcom C++ 11.0
my asm looks like this:
.386P
IDEAL
MODEL FLAT,C

codeseg
public myproc

...
and my C++ file looks like this:
extern "C" {
  void myproc();
}
Linker tells me "undefined symbol myproc_"

Can anyone help me?
Thanx,
  Dmitry.
ICQ# 20079823
homepage: http://codexorg.webjump.com/index.htm
Q:	How do you stop an elephant from charging?
A:	Take away his credit cards.