I work for a company that's extremely anal about warnings; any warning is an
error and warnings are turned up to "11" on the dial.
This is what I had to do to make this compile (diff between new<my code> and
existing 2.2.1 code:
--- old/glui_edittext.cpp 2012-04-19 19:27:09.726417183 -0700
+++ new/glui_edittext.cpp 2012-04-19 19:26:05.018474142 -0700
@@ -931,7 +931,7 @@
int GLUI_EditText::find_word_break( int start, int direction )
{
int i, j;
- char *breaks = " :-.,";
+ char *breaks = (char *)" :-.,";
int num_break_chars = (int)strlen(breaks), text_len = (int)text.length();
int new_pt;
Original issue reported on code.google.com by garybrad...@gmail.com on 20 Apr 2012 at 2:42
Original issue reported on code.google.com by
garybrad...@gmail.com
on 20 Apr 2012 at 2:42