On Tue, 29 Apr 2008 17:43:18 +0300 Nerijus Baliunas <[EMAIL PROTECTED]> wrote:
NB> On Mon, 28 Apr 2008 15:14:14 +0300 Nerijus Baliunas <[EMAIL PROTECTED]>
wrote:
NB>
NB> NB> .src/mail/SendMessageCC.cpp: In function 'long int
write_stream_output(void*, char*)':
NB> NB> .src/mail/SendMessageCC.cpp:1922: error: request for member 'data' in
'wxString::From8BitData(const char*)().wxString::ToUTF8()', which is of
non-class type 'const char*'
NB>
NB> I silenced it by:
NB> --- SendMessageCC.cpp (revision 7434)
NB> +++ SendMessageCC.cpp (working copy)
NB> @@ -1919,7 +1919,7 @@
NB> static long write_stream_output(void *stream, char *string)
NB> {
NB> ostream *o = (ostream *)stream;
NB> - *o << wxString::From8BitData(string).ToUTF8().data();
NB> + *o << wxString::From8BitData(string).ToUTF8();
NB> if ( o->fail() )
NB> return NIL;
NB>
NB> is it ok?
It is but I prefer to make it more explicit, as in the version I've just
checked in.
Thanks,
VZ
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mahogany-Developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers