Archived:Compiler and linker warnings with Open C GCCE and WINSCW builds (Known Issue)
extkbeditor2
(Talk | contribs) m |
hamishwillee
(Talk | contribs) m (Hamishwillee - Bot change of template (Template:KnowledgeBase) - now using Template:ArticleMetaData) |
||
| Line 6: | Line 6: | ||
__NOTOC__ | __NOTOC__ | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
| − | {{ | + | {{ArticleMetaData |
|id=KIS001021 | |id=KIS001021 | ||
|platform=S60 3rd Edition<br>S60 3rd Edition, FP1 and FP2 | |platform=S60 3rd Edition<br>S60 3rd Edition, FP1 and FP2 | ||
| Line 14: | Line 14: | ||
|creationdate=June 12, 2008 | |creationdate=June 12, 2008 | ||
|keywords= | |keywords= | ||
| + | |||
| + | |sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) --> | ||
| + | |installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) --> | ||
| + | |sdk=<!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) --> | ||
| + | |devicecompatability=<!-- Compatible devices (e.g.: All* (must have GPS) ) --> | ||
| + | |signing=<!-- Empty or one of Self-Signed, DevCert, Manufacturer --> | ||
| + | |capabilities=<!-- Capabilities required (e.g. Location, NetworkServices.) --> | ||
| + | |author=[[User:Technical writer 1]] | ||
}} | }} | ||
Revision as of 14:38, 24 June 2011
Article Metadata
Compatibility
Platform(s): S60 3rd Edition
S60 3rd Edition, FP1 and FP2
S60 3rd Edition, FP1 and FP2
Article
Created: User:Technical writer 1
(12 Jun 2008)
Last edited: hamishwillee
(24 Jun 2011)
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.

