I just updated to rev. 7881 and I am now getting these errors when I try to compile:
Huh? How weird is that... what compiler do you use, as it works just fine for me...?!
As a work-around, what happens if you apply this patch:
Index: src/plugins/scriptedwizard/wiz.cpp
===================================================================
--- src/plugins/scriptedwizard/wiz.cpp (revision 7881)
+++ src/plugins/scriptedwizard/wiz.cpp (working copy)
@@ -34,6 +34,7 @@
#include <projectbuildtarget.h>
#include <filefilters.h>
#include <infowindow.h>
+#include <prep.h>
#include <scripting/bindings/sc_base_types.h>
@@ -738,9 +739,9 @@
wxString eol_str;
switch (eolmode)
{
- case wxSCI_EOL_CR: eol_str = _T("\r"); break;
- case wxSCI_EOL_LF: eol_str = _T("\n"); break;
- default: eol_str = _T("\r\n"); // means wxSCI_EOL_CRLF
+ case static_cast<int>(wxSCI_EOL_CR): eol_str = _T("\r"); break;
+ case static_cast<int>(wxSCI_EOL_LF): eol_str = _T("\n"); break;
+ default: eol_str = _T("\r\n"); // means wxSCI_EOL_CRLF
}
if ( cbWrite(f, contents + eol_str, wxFONTENCODING_UTF8) )