warning fixes compiling under mingw
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
265ea0bec7
commit
9a2bbfa53e
1 changed files with 2 additions and 2 deletions
|
|
@ -166,7 +166,7 @@ private:
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
void enterBlock (block_type newbt)
|
void enterBlock (block_type newbt)
|
||||||
{
|
{
|
||||||
const static char *ident[] =
|
static const char *ident[] =
|
||||||
{ "", "\nCONST\n", "\nVAR\n", "\nTYPE\n", "\nREVEAL\n" };
|
{ "", "\nCONST\n", "\nVAR\n", "\nTYPE\n", "\nREVEAL\n" };
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if ((bt < 0) || (4 < bt)) {
|
if ((bt < 0) || (4 < bt)) {
|
||||||
|
|
@ -2689,7 +2689,7 @@ MODULA3 ():
|
||||||
Delete (superclass);
|
Delete (superclass);
|
||||||
|
|
||||||
{
|
{
|
||||||
const static char *acc_m3suffix[] =
|
static const char *acc_m3suffix[] =
|
||||||
{ "Public", "Protected", "Private" };
|
{ "Public", "Protected", "Private" };
|
||||||
int acc;
|
int acc;
|
||||||
for (acc = acc_public; acc <= acc_private; acc++) {
|
for (acc = acc_public; acc <= acc_private; acc++) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue