tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "c.j.bol" <bol () Axp1 ! IenD ! wau ! nl>
To: tru64-unix-managers
Subject: Please help with compilingerrors in C++
Date: Wed, 16 Feb 2000 10:38:32 +0000	[thread overview]
Message-ID: <96079336919438.tru64-unix-managers.marc@archive.invalid> (raw)

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
=================================================================

                 reply	other threads:[~2000-02-16 10:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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