I am currently trying to install GCCE compiled binaries to a Nokia device. However, after creating a sisx file, the Nokia device rejects the sisx file with a "File Corrupted" error message. I do not encounter any warnings when invoking the compiling fromt the command line except that the version of the RCVT compiler cannot be determined. The *.exe file gets produced anyway. Trying to compile in CodeWarrior using GCCE with the ff Symbian Compiler settings
result in the ff warnings:Compiler: ARM GCCE
Prefix File: gcce.h
Macros:
__SYMBIAN32__,__SERIES60_30__,__SERIES60_3X__,__GCCE__,__EPOC32__,__MARM__,__EABI__,__MARM_ARMV5__,__EXE__,NDEBUG,_UNICODE,__GCCE__,__SUPPORT_CPP_EXCEPTIONS__,__PRODUCT_INCLUDE__
Arguments:
-march=armv5t -mthumb-interwork -mapcs -msoft-float -fexceptions -pipe -nostdinc -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas
1. _FOFF of e32def.h
- 2 warnings occur whenever this is used
a. the compiler complains "invalid access to non-static member" regarding the 2nd parameter of _FOFF
b. "perhaps the 'offsetof' macro was used incorrectly" warning
2. "Enumeral mismatch in conditional expression: 'TFalse' vs 'TTrue'" in eikmenup.h line 183
Changing the return line toinline TBool CEikMenuPaneItem::IsScaleableText(const TDesC& aText) const
{
return (aText.Locate(TChar(KScaleableTextSeparator)) == KErrNotFound ? EFalse : ETrue);
}
removes the 2nd type warning.return !(aText.Locate(TChar(KScaleableTextSeparator)) == KErrNotFound);
Aside from these warnings I do not see any errors and hope that I have not missed any other warnings that might cause the corrupting of the SISX file.



