I am seeking any compenent/solutions that dealing Email in wx3.1.Thanks for the help in advance.
Before this version ,back to 2.9.x IIRC,wxEmail has been compiled successfully,and the samples with it.But it failed to compile in wx3.1,at least in my workshop(wx3.1 daily snapshot +minGW2.8.1).
Code: Select all
In file included from ../src/mimetic/contentdisposition.cxx:19:0:
..\include/wx/mimetic/tokenizer.h: In instantiation of 'mimetic::ContTokenizer<Container>::ContTokenizer(const Container*, const DelimCont&) [with DelimCont = char [2]; Container = std::basic_string<char>]':
../src/mimetic/contentdisposition.cxx:91:35: required from here
..\include/wx/mimetic/tokenizer.h:162:28: error: 'setDelimList' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
setDelimList(delims);
^
..\include/wx/mimetic/tokenizer.h:162:28: note: declarations in dependent base 'mimetic::ItTokenizer<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, char>' are not found by unqualified lookup
..\include/wx/mimetic/tokenizer.h:162:28: note: use 'this->setDelimList' instead
mingw32-make: *** [gccmswu\wxEMail_lib_contentdisposition.o] Error 1
The issue's fixed.In ..\include/wx/mimetic/tokenizer.h,from line 158 to line 163,
Code: Select all
template<typename DelimCont>
ContTokenizer(const Container* cont, const DelimCont& delims)
: ItTokenizer<const_iterator,value_type>(cont->begin(), cont->end())
{
//add this->
//setDelimList(delims);
//result is: and so works.But don't see difference here
this->setDelimList(delims);
}