warning fixes compiling under mingw

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-11-08 21:19:47 +00:00
commit f77446423f

View file

@ -166,7 +166,7 @@ private:
* ----------------------------------------------------------------------------- */
void enterBlock (block_type newbt)
{
const static char *ident[] =
static const char *ident[] =
{ "", "\nCONST\n", "\nVAR\n", "\nTYPE\n", "\nREVEAL\n" };
#ifdef DEBUG
if ((bt < 0) || (4 < bt)) {
@ -2689,7 +2689,7 @@ MODULA3 ():
Delete (superclass);
{
const static char *acc_m3suffix[] =
static const char *acc_m3suffix[] =
{ "Public", "Protected", "Private" };
int acc;
for (acc = acc_public; acc <= acc_private; acc++) {