cannot compile: CMdaImageFileToBitmapUtility -> THUMB
| Tue, 2003-10-14 18:35 | |
|
Hi,
I have a problem compiling projects with CodeWarrior Pro (Nokia S60 SDK for CW) that use the CMdaImageFileToBitmapUtility. When building for the emulator everything works fine, but when building for ARMI or THUMB targets I get the following errors. Error : In file included from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\Mda\\Client\\Utility.h:40, Error : from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\MdaImageConverter.h:16, [...] Warning : ANSI C++ forbids declaration `RMdaTimer' with no type unknown file line 120 Error : `RMdaTimer' is neither function nor method; cannot be declared friend unknown file line 120 Warning : ANSI C++ forbids declaration `RMdaTimerFactory' with no type unknown file line 121 Where unknown file is <Mda\Client\Base.h> which is included in <Utility.h>. The code from <Mda\Client\Base.h> is: Code: 114 #if defined(__CW32__) //For Metrowerks CodeWarrior 115 friend class RMdaRegistry; 116 friend class RMdaTimer; 117 friend class RMdaTimerFactory; 118 #else 119 friend RMdaRegistry; 120 friend RMdaTimer; 121 friend RMdaTimerFactory; 122 #endif When building for ARMI/THUMB the __CW32__ is not defined. I tried to define it myself and got into Link Errors. Thank you for any help, Felix |
|





