How to avoid the "enumeral mismatch" error in eikmenup.h
Symbian SDKs since release 8.1a suffers from an annoying warning when compiling with GCCE compiler and it is just incredible that nobody at Symbian or Nokia just even bother to fix it since.
If you get several warning like the following when compiling your applicatin for the GCCE target:
/Symbian/9.2/S60_3rd_FP1/EPOC32/include/eikmenup.h:242: warning: enumeral mismatch in conditional expression: `TFalse' vs `TTrue'
Then you may want to apply a little fix in the eikmenup.h file located in the /epoc32/include directory of your SDK. Open the file and locate the following code:
{
return (aText.Locate(TChar(KScaleableTextSeparator)) == KErrNotFound ? EFalse : ETrue);
}
(it should be around line 107 for the S60 v2 FP3 SDK and line 240 for the S60 v3 FP1 SDK) and replace it by the following:
{
return (aText.Locate(TChar(KScaleableTextSeparator)) == KErrNotFound ? (TBool)EFalse : (TBool)ETrue);
}






How to avoid the "enumeral mismatch" error in eikmenup.h
How about simply:
How to avoid the "enumeral mismatch" error in eikmenup.h
How to avoid the "enumeral mismatch" error in eikmenup.h
Re: How to avoid the "enumeral mismatch" error in eikmenup.h
Or they simply have better things to do
Have people told this to Symbian?
I haven''t seen a message to this effect seen in one of the newsgroup on the Symbian DevNet fora. So if you find a defect, report it to Symbian and/or Nokia in one of the fora they have established for defect reporting.
Sander van der Wal
www.mBrainSoftware.com