From 9a2bbfa53e3247365904a14dd8c4fbf8cd0c9092 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 8 Nov 2004 21:19:47 +0000 Subject: [PATCH] warning fixes compiling under mingw git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6696 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/modula3.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Modules/modula3.cxx b/Source/Modules/modula3.cxx index e5c234967..27db43249 100644 --- a/Source/Modules/modula3.cxx +++ b/Source/Modules/modula3.cxx @@ -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++) {