Add missing EXPORT_C in cpp files, and reinstate the DEF file additions, to fix Bug 2473 CompilerCompatibility
authorWilliam Roberts <williamr@symbian.org>
Thu, 08 Apr 2010 20:18:37 +0100
branchCompilerCompatibility
changeset 20 d1bdfdf534bd
parent 19 a6dbc15ecf90
child 21 4780393bfbba
Add missing EXPORT_C in cpp files, and reinstate the DEF file additions, to fix Bug 2473 Mystery solved - RVCT 2.2 only exports functions on the basis of EXPORT_C, but RVCT 4.0 is triggered by the IMPORT_C as well
photosgallery/viewframework/commandhandlers/commandhandlerupnp/eabi/glxupnpcommandhandleru.def
photosgallery/viewframework/commandhandlers/commandhandlerupnp/src/glxcommandhandlercopytohomenetwork.cpp
photosgallery/viewframework/commandhandlers/commandhandlerupnp/src/glxcommandhandlershowviaupnp.cpp
photosgallery/viewframework/medialists/eabi/glxmedialistsu.def
photosgallery/viewframework/medialists/src/glxitemlist.cpp
photosgallery/viewframework/medialists/src/glxlistwindow.cpp
photosgallery/viewframework/medialists/src/glxmedia.cpp
photosgallery/viewframework/medialists/src/glxnavigablelist.cpp
photosgallery/viewframework/medialists/src/glxstaticitemlist.cpp
--- a/photosgallery/viewframework/commandhandlers/commandhandlerupnp/eabi/glxupnpcommandhandleru.def	Thu Apr 08 18:19:32 2010 +0100
+++ b/photosgallery/viewframework/commandhandlers/commandhandlerupnp/eabi/glxupnpcommandhandleru.def	Thu Apr 08 20:18:37 2010 +0100
@@ -3,4 +3,10 @@
 	_ZN15GlxUpnpRenderer6StatusEv @ 2 NONAME
 	_ZN29CGlxCommandHandlerShowViaUpnp4NewLEP21MGlxMediaListProvideri @ 3 NONAME
 	_ZN35CGlxCommandHandlerCopyToHomeNetwork4NewLER21MGlxMediaListProvider @ 4 NONAME
+  _ZN29CGlxCommandHandlerShowViaUpnpD0Ev @ 5 NONAME
+  _ZN29CGlxCommandHandlerShowViaUpnpD1Ev @ 6 NONAME
+  _ZN29CGlxCommandHandlerShowViaUpnpD2Ev @ 7 NONAME
+  _ZN35CGlxCommandHandlerCopyToHomeNetworkD0Ev @ 8 NONAME
+  _ZN35CGlxCommandHandlerCopyToHomeNetworkD1Ev @ 9 NONAME
+  _ZN35CGlxCommandHandlerCopyToHomeNetworkD2Ev @ 10 NONAME
 
--- a/photosgallery/viewframework/commandhandlers/commandhandlerupnp/src/glxcommandhandlercopytohomenetwork.cpp	Thu Apr 08 18:19:32 2010 +0100
+++ b/photosgallery/viewframework/commandhandlers/commandhandlerupnp/src/glxcommandhandlercopytohomenetwork.cpp	Thu Apr 08 20:18:37 2010 +0100
@@ -84,7 +84,7 @@
 //-----------------------------------------------------------------------------------------
 // Destructor
 //-----------------------------------------------------------------------------------------
-CGlxCommandHandlerCopyToHomeNetwork::~CGlxCommandHandlerCopyToHomeNetwork()
+EXPORT_C CGlxCommandHandlerCopyToHomeNetwork::~CGlxCommandHandlerCopyToHomeNetwork()
     {
     }
   
--- a/photosgallery/viewframework/commandhandlers/commandhandlerupnp/src/glxcommandhandlershowviaupnp.cpp	Thu Apr 08 18:19:32 2010 +0100
+++ b/photosgallery/viewframework/commandhandlers/commandhandlerupnp/src/glxcommandhandlershowviaupnp.cpp	Thu Apr 08 20:18:37 2010 +0100
@@ -57,7 +57,7 @@
 //-----------------------------------------------------------------------------------------
 // Destructor
 //-----------------------------------------------------------------------------------------
-CGlxCommandHandlerShowViaUpnp::~CGlxCommandHandlerShowViaUpnp()
+EXPORT_C CGlxCommandHandlerShowViaUpnp::~CGlxCommandHandlerShowViaUpnp()
     {
     //Do Nothing  
     }  
--- a/photosgallery/viewframework/medialists/eabi/glxmedialistsu.def	Thu Apr 08 18:19:32 2010 +0100
+++ b/photosgallery/viewframework/medialists/eabi/glxmedialistsu.def	Thu Apr 08 20:18:37 2010 +0100
@@ -190,4 +190,9 @@
 	_ZTV34TGlxFromFocusOutwardBlockyIterator @ 189 NONAME
 	_ZTV34TGlxFromIndexOutwardBlockyIterator @ 190 NONAME
 	_ZTV40TGlxFromManualIndexOutwardBlockyIterator @ 191 NONAME
+  _ZNK12CGlxItemList18__DbgTestInvariantEv @ 192 NONAME
+  _ZNK14CGlxListWindow18__DbgTestInvariantEv @ 193 NONAME
+  _ZNK17CGlxNavigableList18__DbgTestInvariantEv @ 194 NONAME
+  _ZNK18CGlxStaticItemList18__DbgTestInvariantEv @ 195 NONAME
+  _ZNK9CGlxMedia18__DbgTestInvariantEv @ 196 NONAME
 
--- a/photosgallery/viewframework/medialists/src/glxitemlist.cpp	Thu Apr 08 18:19:32 2010 +0100
+++ b/photosgallery/viewframework/medialists/src/glxitemlist.cpp	Thu Apr 08 20:18:37 2010 +0100
@@ -538,7 +538,7 @@
 // ---------------------------------------------------------------------------
 // Test invariant
 // ---------------------------------------------------------------------------
-void CGlxItemList::__DbgTestInvariant() const
+EXPORT_C void CGlxItemList::__DbgTestInvariant() const
     {
     #ifdef _DEBUG
     
--- a/photosgallery/viewframework/medialists/src/glxlistwindow.cpp	Thu Apr 08 18:19:32 2010 +0100
+++ b/photosgallery/viewframework/medialists/src/glxlistwindow.cpp	Thu Apr 08 20:18:37 2010 +0100
@@ -732,7 +732,7 @@
 // ---------------------------------------------------------------------------
 // Test invariant
 // ---------------------------------------------------------------------------
-void CGlxListWindow::__DbgTestInvariant() const
+EXPORT_C void CGlxListWindow::__DbgTestInvariant() const
     {
     TRACER("CGlxListWindow::__DbgTestInvariant");
     
--- a/photosgallery/viewframework/medialists/src/glxmedia.cpp	Thu Apr 08 18:19:32 2010 +0100
+++ b/photosgallery/viewframework/medialists/src/glxmedia.cpp	Thu Apr 08 20:18:37 2010 +0100
@@ -984,7 +984,7 @@
 // ---------------------------------------------------------------------------
 // Test invariant
 // ---------------------------------------------------------------------------
-void CGlxMedia::__DbgTestInvariant() const
+EXPORT_C void CGlxMedia::__DbgTestInvariant() const
     {
     TRACER("CGlxMedia::__DbgTestInvariant");
     
--- a/photosgallery/viewframework/medialists/src/glxnavigablelist.cpp	Thu Apr 08 18:19:32 2010 +0100
+++ b/photosgallery/viewframework/medialists/src/glxnavigablelist.cpp	Thu Apr 08 20:18:37 2010 +0100
@@ -924,7 +924,7 @@
 // ---------------------------------------------------------------------------
 // Test invariant
 // ---------------------------------------------------------------------------
-void CGlxNavigableList::__DbgTestInvariant() const
+EXPORT_C void CGlxNavigableList::__DbgTestInvariant() const
     {
     TRACER( "CGlxNavigableList::__DbgTestInvariant");
     
--- a/photosgallery/viewframework/medialists/src/glxstaticitemlist.cpp	Thu Apr 08 18:19:32 2010 +0100
+++ b/photosgallery/viewframework/medialists/src/glxstaticitemlist.cpp	Thu Apr 08 20:18:37 2010 +0100
@@ -720,7 +720,7 @@
 // ---------------------------------------------------------------------------
 // Test invariant
 // ---------------------------------------------------------------------------
-void CGlxStaticItemList::__DbgTestInvariant() const
+EXPORT_C void CGlxStaticItemList::__DbgTestInvariant() const
     {
     TRACER( "CGlxStaticItemList::__DbgTestInvariant");