×
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)
hamishwillee (Talk | contribs)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
[[Category:Symbian C++]][[Category:Known Issue]][[Category:S60 3rd Edition (initial release)]][[Category:Open C/C++]]
+
{{Archived|timestamp=20120313123757|user=roy.debjit| }}
 +
[[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]]
 
{{ArticleMetaData <!-- v1.2 -->
 
{{ArticleMetaData <!-- v1.2 -->
 
|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]]) -->
Line 22: Line 23:
 
|author= [[User:Technical writer 1]]
 
|author= [[User:Technical writer 1]]
 
<!-- The following are not in current metadata -->
 
<!-- The following are not in current metadata -->
|subcategory= Open C, SDK & Tools
 
 
|id= KIS001021
 
|id= KIS001021
 
}}
 
}}
{{Archived|timestamp=20120313123757|user=roy.debjit| }}
 
 
    
 
    
 
==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==

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.
146 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.

×