errors in porting on gcc 3.4.6 from gcc 3.2.3
Lionel B
lionelbuk@yahoo.co.uk
Tue May 15 11:14:00 GMT 2007
On Tue, 15 May 2007 03:47:03 -0700, kushwaha wrote:
> hi all..
>
> Following is the part of a code giving error with gcc 3.4.6 which
> previously compiled with gcc 3.2.3.
Are you sure...? Compiling your code (gcc 4.1.2) I get:
error: âclass HString_Keyâ has no member named âmpcCallIdâ
error: âclass HString_Keyâ has no member named âmulHashIdâ
from these lines:
key.mpcCallId = apcCallId;
key.mulHashId = apcHashId;
and sure enough, your class template HString_Key does not contain those
members. I don't see how this could have compiled with gcc 3.2.3. Didn't
you mean:
key.mpcId = apcCallId;
key.mulId = apcHashId;
in Equal_to_HString_Key::Equal_to_HString_Key(...) ? Compiles ok for me
with this change.
[...]
--
Lionel B
More information about the Gcc-help
mailing list