GCC could not convert __b to ... error

Eljay Love-Jensen eljay@adobe.com
Fri Aug 15 19:52:00 GMT 2003


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?




More information about the Gcc-help mailing list