Archived:Compiler and linker warnings with Open C GCCE and WINSCW builds (Known Issue)
m (1 revision(s)) |
m (Protected "KIS001021 - Open C: Compiler and linker warnings with GCCE and WINSCW builds" [edit=sysop:move=sysop]) |
Revision as of 13:04, 12 June 2008
| ID | KIS001021 | Creation date | June 12, 2008 |
| Platform | S60 3rd Edition S60 3rd Edition, FP1 and FP2 |
Devices | |
| Category | Symbian C++ | Subcategory | Open C, SDK & Tools |
Description
The compiler gives a couple of warnings when building an Open C application to the GCCE (device) or WINSCW (emulator) target.
Compilation with GCCE build:
warning: command line option "-Wno-ctor-dtor-privacy" is valid for C++/ObjC++ but not for C
Linker warnings with WINSCW build:
warning: Multiply defined section for several functions.
Solution
These types of warnings can typically be ignored for GCCE/WINSCW builds. They are expected to be addressed in the next Open C release.
Warnings about the -Wno-ctor-dtor-privacy option can be disabled by modifying the \epoc32\tools\compilation_config\gcce.mk file. See How to use GCCE and Open C for more information.

