tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Please help with compilingerrors in C++
@ 2000-02-16 10:38 c.j.bol
  0 siblings, 0 replies; only message in thread
From: c.j.bol @ 2000-02-16 10:38 UTC (permalink / raw)
  To: tru64-unix-managers

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@axp1.iend.wau.nl  (!! bol@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
=================================================================

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-02-16 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-16 10:38 Please help with compilingerrors in C++ c.j.bol

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox