string handling mods to keep gcc-4.2 happy

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2007-11-04 20:36:23 +00:00
commit f1169562ec
3 changed files with 41 additions and 40 deletions

View file

@ -116,7 +116,8 @@ int* const globalRet2() {return &GlobalInt;}
%{
static int wxEVT_COMMAND_BUTTON_CLICKEDv;
static int **wxEVT_COMMAND_BUTTON_CLICKEDp;
char *langs[] ={"Hello"};
char lang1[16] = "Hello";
char *langs[] ={ lang1 };
%}