×
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
Forum Nokia KB (Talk | contribs)
m
extkbeditor2 (Talk | contribs)
m
Line 6: Line 6:
 
__NOTOC__
 
__NOTOC__
 
__NOEDITSECTION__
 
__NOEDITSECTION__
{|style="background:#eceff2" width="660px" border="1" cellpadding="5" cellspacing="0"
+
{{KnowledgeBase
|-
+
|id=KIS001021
|'''ID''' ||KIS001021
+
|platform=S60 3rd Edition<br>S60 3rd Edition, FP1 and FP2
|'''Creation date''' || June 12, 2008
+
|devices=
|-
+
|category=Symbian C++
|'''Platform''' ||S60 3rd Edition<br>S60 3rd Edition, FP1 and FP2
+
|subcategory=Open C, SDK & Tools
|'''Devices''' ||
+
|creationdate=June 12, 2008
|-
+
|keywords=
|'''Category''' ||Symbian C++
+
}}
|'''Subcategory''' ||Open C, SDK & Tools
+
|}
+
  
 
==Description==
 
==Description==
 
 
The compiler gives a couple of warnings when building an Open C application to the GCCE (device) or WINSCW (emulator) target.
 
The compiler gives a couple of warnings when building an Open C application to the GCCE (device) or WINSCW (emulator) target.
  
Line 29: Line 26:
  
 
''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 <tt>\epoc32\tools\compilation_config\gcce.mk</tt> file. See [[How to use GCCE and Open C]] for more information.

Revision as of 21:45, 27 October 2008

Template:KBKI


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: (12 Jun 2008)
Last edited: extkbeditor2 (27 Oct 2008)

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.

184 page views in the last 30 days.