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:
parent
13e7383859
commit
f77446423f
1 changed files with 2 additions and 2 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue