Addendum to: need help: Mercury+C/C++?

tcklnbrg at at ingenuity-sw.com
Wed Sep 2 10:58:35 AEST 1998


tcklnbrg wrote:
> The lexer.c file contains one global var, "char * tokenStr",

Addendum:  The above is wrong:  it is "string * tokenStr"

This means that lexer.c, and presumably et.al. 
must be compiled with a c++ compiler,
in this case g++ rather than gcc.  The "string", above is the
g++/std/ string.

I have tried editing the .dep to set the paths correctly and all
I manage to do is change the error messages.  They are always about
some something undefined or not found.


Thanks,

AT



More information about the users mailing list