×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:Compiler and linker warnings with Open C GCCE and WINSCW builds (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot change of template (Template:KnowledgeBase) - now using Template:ArticleMetaData)
hamishwillee (Talk | contribs)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Symbian C++]]
+
{{Archived|timestamp=20120313123757|user=roy.debjit| }}
[[Category:Known Issue]]
+
[[Category:Known Issue]][[Category:S60 3rd Edition (initial release)]][[Category:Open C/C++]][[Category:Symbian]][[Category:S60 3rd Edition FP1]][[Category:S60 3rd Edition FP2]][[Category:SDK]]
[[Category:S60 3rd Edition]]
+
{{ArticleMetaData <!-- v1.2 -->
[[Category:Open C/C++]]
+
{{KBKI}}
+
__NOTOC__
+
__NOEDITSECTION__
+
{{ArticleMetaData
+
|id=KIS001021
+
|platform=S60 3rd Edition<br>S60 3rd Edition, FP1 and FP2
+
|devices=
+
|category=Symbian C++
+
|subcategory=Open C, SDK & Tools
+
|creationdate=June 12, 2008
+
|keywords=
+
 
+
 
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
 
|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]]) -->
 
|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]) -->
+
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
|devicecompatability=<!-- Compatible devices (e.g.: All* (must have GPS) ) -->
+
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
|signing=<!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
+
|platform= S60 3rd Edition<br>S60 3rd Edition, FP1 and FP2
|capabilities=<!-- Capabilities required (e.g. Location, NetworkServices.) -->
+
|devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) -->
|author=[[User:Technical writer 1]]
+
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
 +
|signing= <!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
 +
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 +
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
 +
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|translated-by= <!-- [[User:XXXX]] -->
 +
|translated-from-title= <!-- Title only -->
 +
|translated-from-id= <!-- Id of translated revision -->
 +
|review-by= <!-- After re-review: [[User:username]] -->
 +
|review-timestamp= <!-- After re-review: YYYYMMDD -->
 +
|update-by= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20080612
 +
|author= [[User:Technical writer 1]]
 +
<!-- The following are not in current metadata -->
 +
|id= KIS001021
 
}}
 
}}
 
+
 
 
==Description==
 
==Description==
The compiler gives a couple of warnings when building an Open C application to the GCCE (device) or WINSCW (emulator) target.
+
{{Abstract|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:'''
 
'''Compilation with GCCE build:'''
 
+
''warning: command line option "-Wno-ctor-dtor-privacy" is valid for C++/ObjC++ but not for C''
''warning: command line option "-Wno-ctor-dtor-privacy" is valid for C++/ObjC++ but not for C''
+
  
 
'''Linker warnings with WINSCW build:'''
 
'''Linker warnings with WINSCW build:'''
 
+
''warning: Multiply defined section'' for several functions.
''warning: Multiply defined section'' for several functions.
+
  
 
==Solution==
 
==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.
 
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 <tt>\epoc32\tools\compilation_config\gcce.mk</tt> file. See [[How to use GCCE and Open C]] for more information.
+
Warnings about the '''-Wno-ctor-dtor-privacy''' option can be disabled by modifying the {{Icode|\epoc32\tools\compilation_config\gcce.mk}} file. See [[How to use GCCE and Open C]] for more information.

Latest revision as of 03:47, 19 June 2012

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Compatibility
Platform(s): S60 3rd Edition
S60 3rd Edition, FP1 and FP2
Symbian
S60 3rd Edition FP2
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Article
Created: User:Technical writer 1 (12 Jun 2008)
Last edited: hamishwillee (19 Jun 2012)

[edit] 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.

[edit] 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.

This page was last modified on 19 June 2012, at 03:47.
128 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×