Compilers and IDEs Using Open C |
To be able to use Open C and the Carbide.c++ provided by Nokia efficiently, the user must perform the following steps:
NOTE! The include paths for Open C headers must be specified as well as the used Open C libraries.
NOTE! This must be done for all possible build configurations.
libc.lib must be included in the MMP file for both the WINSCW as well as the target. The code will compile and link for WINSCW even if libc.lib is not mentioned in the MMP file, but will fail during execution. If libc.lib is not mentioned in the MMP file for the target, the code will compile but will fail during linking.
epoc32\include\stdapis epoc32\include\libcepoc32\include\libc will be included first followed by epoc32\include\stdapis .(It might be included on the basis of alphabetical order).
This issue can be resolved by manually changing the project properties in carbide.c++ IDE. In order to change the project properties in Carbide.c++ IDE :
The code that makes use of implicit pointer casts will not compile with the WINSCW compiler. The compilation breaks with "illegal implicit conversion error". However, the same code will compile with gcc compiler. A work around for this problem without changing the code is to define a pragma.
©Nokia 2007 |