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:
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:
(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:
inline TBool CEikMenuPaneItem::IsScaleableText(const TDesC& aText) const
{
return (aText.Locate(TChar(KScaleableTextSeparator)) == KErrNotFound ? (TBool)EFalse : (TBool)ETrue);
}
{
return (aText.Locate(TChar(KScaleableTextSeparator)) == KErrNotFound ? (TBool)EFalse : (TBool)ETrue);
}
inline TBool CEikMenuPaneItem::IsScaleableText(const TDesC& aText) const
{
return (aText.Locate(TChar(KScaleableTextSeparator)) == KErrNotFound ? EFalse : ETrue);
}
{
return (aText.Locate(TChar(KScaleableTextSeparator)) == KErrNotFound ? EFalse : ETrue);
}
/Symbian/9.2/S60_3rd_FP1/EPOC32/include/eikmenup.h: In member function `TBool CEikMenuPaneItem::IsScaleableText(const TDesC&) const':
/Symbian/9.2/S60_3rd_FP1/EPOC32/include/eikmenup.h:242: warning: enumeral mismatch in conditional expression: `TFalse' vs `TTrue'
/Symbian/9.2/S60_3rd_FP1/EPOC32/include/eikmenup.h:242: warning: enumeral mismatch in conditional expression: `TFalse' vs `TTrue'