This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC could not convert __b to ... error
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Mubarak Noohu <mnoohum3 at yahoo dot com>, gcc-help at gcc dot gnu dot org
- Date: Fri, 15 Aug 2003 14:52:13 -0500
- Subject: Re: GCC could not convert __b to ... error
Hi Mubarak,
Make your definition:
typedef void (*PFParamHandler)(short wParamKey, long lDataSize);
typedef map<short, PFParamHandler> TParamHandlerTable;
And then your...
void LoadInfo(short,long);
...should be able to be put in your map.
--Eljay
PS: you appear to be using some sort of Hungarian notation. The 'w' prefix mean a 'word', which is the natural word size of your machine, represented by 'int' in C/C++. Most modern machines have 32-bit words, some have 64-bit words, and a few specialized hardware systems (such as video GPUs) may have 128-bit or 256-bit words. Are you running on 16-bit hardware?