Well,
1) gcc -v yields 4.7.1 as a version. It also gives me a lot of info that I am too naive to understand... for this reason I have attached to this Email the detailed results of this command (gcc-v_infos.txt).

2) I have performed the suggested modification, ie, replacing

    setDelimList(delims);

    by

this->setDelimList(delims);

and, lo and behold!, the program compiles much further on. But it now stops
on the errors that I mentionned in my initial Email (static initializations in wxpop3.cpp).
 I also have joined the new compiler output (zit.txt).

I think that now we have finally reproduced the initial problem!

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/program files 
(x86)/codeblocks/mingw/bin/../libexec/gcc/mingw32/4.7.1/lto-wrapper.exe
Target: mingw32
Configured with: ../../src/gcc-4.7.1/configure --build=mingw32 
--enable-languages=c,c++,ada,fortran,objc,obj-c++ --enable-threads=win32 
--enable-libgomp --enable-lto --enable-fully-dynamic-string 
--enable-libstdcxx-debug --enable-version-specific-runtime-libs --with-gnu-ld 
--disable-nls --disable-win32-registry --disable-symvers 
--disable-build-poststage1-with-cxx --disable-werror --prefix=/mingw32tdm 
--with-local-prefix=/mingw32tdm --enable-cxx-flags='-fno-function-sections 
-fno-data-sections' --with-pkgversion=tdm-1 --enable-sjlj-exceptions 
--with-bugurl=http://tdm-gcc.tdragon.net/bugs
Thread model: win32
gcc version 4.7.1 (tdm-1) 
D:\Paul\wxEMail-1.0-Beta-2\build>mingw32-make -f makefile.gcc 
WX_DIR=D:\Paul\wxW WX_UNICODE=1 WX_DEBUG=0 WX_SHARED=1 WX_MONOLITHIC=0 
if not exist ..\lib\gcc_lib mkdir ..\lib\gcc_lib
g++ -c -o gccmswu\wxEMail_lib_wxpop3.o -DHAVE_W32API_H -DWXUSINGDLL -D_UNICODE  
-D__WXMSW__ -ID:\Paul\wxW\lib\gcc_dll\mswu -ID:\Paul\wxW\include -O2  -W -Wall 
-I..\include   -MTgccmswu\wxEMail_lib_wxpop3.o 
-MFgccmswu\wxEMail_lib_wxpop3.o.d -MD -MP ../src/pop3/wxpop3.cpp
../src/pop3/wxpop3.cpp:28:1: warning: 'wxPOP3::wxPOP3(wxString, wxString, 
wxString, long unsigned int, wxPOP3::AuthenticationScheme_t, bool, 
wxPOP3::Listener*)' redeclared without dllimport attribute: previous dllimport 
ignored [-Wattributes]
In file included from ../src/pop3/wxpop3.cpp:24:0:
..\include/wx/pop3/wxpop3.h: In constructor 'wxPOP3::wxPOP3(wxString, wxString, 
wxString, long unsigned int, wxPOP3::AuthenticationScheme_t, bool, 
wxPOP3::Listener*)':
..\include/wx/pop3/wxpop3.h:589:12: warning: 'wxPOP3::in_init' will be 
initialized after [-Wreorder]
..\include/wx/pop3/wxpop3.h:562:12: warning:   'bool wxPOP3::ssl_enabled' 
[-Wreorder]
../src/pop3/wxpop3.cpp:28:1: warning:   when initialized here [-Wreorder]
../src/pop3/wxpop3.cpp: At global scope:
../src/pop3/wxpop3.cpp:56:6: warning: 'void 
wxPOP3::ConfigureAuthenticationScheme(wxPOP3::AuthenticationScheme_t, const 
wxString&, const wxString&, bool)' redeclared without dllimport attribute: 
previous dllimport ignored [-Wattributes]
../src/pop3/wxpop3.cpp:67:6: warning: 'bool wxPOP3::OperationInProgress()' 
redeclared without dllimport attribute: previous dllimport ignored 
[-Wattributes]
../src/pop3/wxpop3.cpp:72:6: warning: 'bool 
wxPOP3::CheckConnection(wxPOP3::Listener*)' redeclared without dllimport 
attribute: previous dllimport ignored [-Wattributes]
../src/pop3/wxpop3.cpp:77:6: warning: 'bool 
wxPOP3::DownloadMessages(wxPOP3::Listener*)' redeclared without dllimport 
attribute: previous dllimport ignored [-Wattributes]
../src/pop3/wxpop3.cpp:82:6: warning: 'bool wxPOP3::PerformOperation(int, 
wxPOP3::Listener*)' redeclared without dllimport attribute after being 
referenced with dll linkage [enabled by default]
../src/pop3/wxpop3.cpp:109:40: warning: 'wxPOP3::initial_state' redeclared 
without dllimport attribute after being referenced with dll linkage [enabled by 
default]
../src/pop3/wxpop3.cpp:110:40: warning: 'wxPOP3::ssl_negociation_state' 
redeclared without dllimport attribute: previous dllimport ignored 
[-Wattributes]
../src/pop3/wxpop3.cpp:111:40: warning: 'wxPOP3::hello_state' redeclared 
without dllimport attribute: previous dllimport ignored [-Wattributes]
../src/pop3/wxpop3.cpp:112:40: warning: 'wxPOP3::authorisation_state' 
redeclared without dllimport attribute: previous dllimport ignored 
[-Wattributes]
../src/pop3/wxpop3.cpp:113:40: warning: 'wxPOP3::get_message_list_state' 
redeclared without dllimport attribute: previous dllimport ignored 
[-Wattributes]
../src/pop3/wxpop3.cpp:114:40: warning: 'wxPOP3::handling_message_state' 
redeclared without dllimport attribute: previous dllimport ignored 
[-Wattributes]
../src/pop3/wxpop3.cpp:115:40: warning: 'wxPOP3::downloading_message_state' 
redeclared without dllimport attribute: previous dllimport ignored 
[-Wattributes]
../src/pop3/wxpop3.cpp:116:40: warning: 'wxPOP3::suppressing_message_state' 
redeclared without dllimport attribute: previous dllimport ignored 
[-Wattributes]
../src/pop3/wxpop3.cpp:117:40: warning: 'wxPOP3::exit_state' redeclared without 
dllimport attribute after being referenced with dll linkage [enabled by default]
../src/pop3/wxpop3.cpp:119:40: warning: 'wxPOP3::default_class_listener' 
redeclared without dllimport attribute after being referenced with dll linkage 
[enabled by default]
../src/pop3/wxpop3.cpp: In function 'void __tcf_2()':
../src/pop3/wxpop3.cpp:110:32: error: definition of static data member 
'wxPOP3::ssl_negociation_state' of dllimport'd class
../src/pop3/wxpop3.cpp: In function 'void __tcf_3()':
../src/pop3/wxpop3.cpp:111:32: error: definition of static data member 
'wxPOP3::hello_state' of dllimport'd class
../src/pop3/wxpop3.cpp: In function 'void __tcf_4()':
../src/pop3/wxpop3.cpp:112:32: error: definition of static data member 
'wxPOP3::authorisation_state' of dllimport'd class
../src/pop3/wxpop3.cpp: In function 'void __tcf_5()':
../src/pop3/wxpop3.cpp:113:32: error: definition of static data member 
'wxPOP3::get_message_list_state' of dllimport'd class
../src/pop3/wxpop3.cpp: In function 'void __tcf_6()':
../src/pop3/wxpop3.cpp:114:32: error: definition of static data member 
'wxPOP3::handling_message_state' of dllimport'd class
../src/pop3/wxpop3.cpp: In function 'void __tcf_7()':
../src/pop3/wxpop3.cpp:115:32: error: definition of static data member 
'wxPOP3::downloading_message_state' of dllimport'd class
../src/pop3/wxpop3.cpp: In function 'void __tcf_8()':
../src/pop3/wxpop3.cpp:116:32: error: definition of static data member 
'wxPOP3::suppressing_message_state' of dllimport'd class
mingw32-make: *** [gccmswu\wxEMail_lib_wxpop3.o] Error 1
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to