I just updated to rev. 7881 and I am now getting these errors when I try to compile:
C:\codeblocks\trunk\src\plugins\scriptedwizard\wiz.cpp:736:36: error: 'windows' is not a member of 'platform'
C:\codeblocks\trunk\src\plugins\scriptedwizard\wiz.cpp:736:56: error: 'wxSCI_EOL_CRLF' was not declared in this scope
C:\codeblocks\trunk\src\plugins\scriptedwizard\wiz.cpp:736:73: error: 'wxSCI_EOL_LF' was not declared in this scope
C:\codeblocks\trunk\src\plugins\scriptedwizard\wiz.cpp:741:12: error: 'wxSCI_EOL_CR' was not declared in this scope
C:\codeblocks\trunk\src\plugins\scriptedwizard\wiz.cpp:742:12: error: the value of 'wxSCI_EOL_LF' is not usable in a constant expression
C:\codeblocks\trunk\src\plugins\scriptedwizard\wiz.cpp:736:73: note: 'wxSCI_EOL_LF' does not have integral or enumeration type
Quote from: ironhead on March 03, 2012, 03:41:50 PM
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) )
Fix committed in Rev 7882.
Quote from: Biplab on March 03, 2012, 04:30:32 PM
Fix committed in Rev 7882.
Ah - now I got it, yes - that explains the error. Thanks Biplab!
Biplab: How do you manage to commit the last fix? Using svn+ssh://svn.berlios.de fails for the last couple of days :(
Quote from: oBFusCATed on March 03, 2012, 11:53:10 PM
Biplab: How do you manage to commit the last fix? Using svn+ssh://svn.berlios.de fails for the last couple of days :(
Same here, but you can switch from
svn+ssh to
https like this on console:
svn switch --relocate svn+ssh://jenslody@svn.berlios.de/svnroot/repos/codeblocks/trunk https://jenslody@svn.berlios.de/svnroot/repos/codeblocks/trunkor for debugger-branch:
svn switch --relocate svn+ssh://jenslody@svn.berlios.de/svnroot/repos/codeblocks/trunk https://jenslody@svn.berlios.de/svnroot/repos/codeblocks/trunkThe exact url's and username (of course)depend on what you had before.
in general:
svn switch --relocate FROM TO
Quote from: oBFusCATed on March 03, 2012, 11:53:10 PM
Biplab: How do you manage to commit the last fix? Using svn+ssh://svn.berlios.de fails for the last couple of days :(
As jens pointed out, I'm using
https protocol to access Berlios. :)