M with wx 2.8.4
Nerijus Baliunas <[email protected]> Wed, 29 Aug 2007 19:08:21 +0300
| Newsgroups | gmane.mail.mahogany.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
a warning and error:
.src/adb/AdbFrame.cpp: In constructor 'wxADBPropertiesDialog::wxADBPropertiesDialog(wxWindow*, AdbTreeBook*)':
.src/adb/AdbFrame.cpp:3102: warning: cannot pass objects of non-POD type 'class wxString' through '...'; call will abort at runtime
.src/mail/SendMessageCC.cpp: In member function 'virtual void SendMessageCC::SetSubject(const String&)':
.src/mail/SendMessageCC.cpp:672: error: operands to ?: have different types
I silenced it like this:
--- SendMessageCC.cpp (revision 7350)
+++ SendMessageCC.cpp (working copy)
@@ -669,7 +669,7 @@
// if headers are already encoded, don't do anything, they must be already
// in ASCII
wxCharBuffer buf(m_encodeHeaders ? MIME::EncodeHeader(subject, m_encHeaders)
- : subject.ToAscii());
+ : (wxCharBuffer)subject.ToAscii());
m_Envelope->subject = cpystr(buf);
}
is it ok? Then next one:
.src/modules/HtmlViewer.cpp: In member function 'virtual void HtmlViewer::InsertRawContents(const String&)':
.src/modules/HtmlViewer.cpp:1115: error: cannot declare variable 'parser' to be of abstract type 'HtmlViewer::InsertRawContents(const String&)::BodyParser'
.src/modules/HtmlViewer.cpp:1105: note: because the following virtual functions are pure within 'HtmlViewer::InsertRawContents(const String&)::BodyParser':
/a/M/wxWindows.28/wxWidgets/include/wx/html/htmlpars.h:144: note: virtual void wxHtmlParser::AddText(const wxChar*)
Regards,
Nerijus
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/