Dear group, I try to compile a C++ program but it gives me errors I don't
understand.
I use V6.0 on Tru64 V4.0D
The code looks like:
...
long (__cdecl *DictOldNumValues)
(WebBotDict* dict,
const char* key);
const char* (__cdecl *DictOldGetValue)
(WebBotDict* dict,
const char* key);
...
and the error is
cxx: Error: ../../webbot.h, line 39: expected a ")"
long (__cdecl *DictOldNumValues)
------------------^
cxx: Error: ../../webbot.h, line 42: expected a ")"
const char* (__cdecl *DictOldGetValue)
-------------------------^
cxx: Error: ../../webbot.h, line 42: cannot overload functions distinguished by
return type alone
const char* (__cdecl *DictOldGetValue)
-----------------^
...
Can anyone give me a hint?
Kees Bol
--
=================================================================
Mailto:bol_at_axp1.iend.wau.nl (!! bol_at_a,x,p,one,...)
Department for Information Management and Datacommunication (I&D)
Wageningen UR, Dreijenplein 2, 6703 HB Wageningen
The Netherlands
Phone:+31(0)317-484715 Fax:+31(0)317-485360 http://www.wau.nl
=================================================================
Received on Wed Feb 16 2000 - 10:39:30 NZDT