Email in wx

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
samsam598
Super wx Problem Solver
Super wx Problem Solver
Posts: 324
Joined: Mon Oct 06, 2008 12:55 pm

Email in wx

Post by samsam598 » Fri Jul 11, 2014 6:04 am

Greetings!

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

Edit:

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);
    }
Regards,
Sam
-------------------------------------------------------------------
Windows xp
VS.Net 2003/MinGW 3.4.5 C::B character set: UTF-8
wxWidgets github 3.0 RC1 Unicode Static build,Unicode Shared build.

Post Reply