gcc-4.3 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4c03864ce9
commit
5d65e1ca92
2 changed files with 7 additions and 5 deletions
|
|
@ -127,7 +127,7 @@ char cvsroot_modula3_cxx[] = "$Id$";
|
|||
#include <limits.h> // for INT_MAX
|
||||
#include <ctype.h>
|
||||
|
||||
const char usageArgDir[] = "m3wrapargdir typemap expect values: in, out, inout\n";
|
||||
#define USAGE_ARG_DIR "m3wrapargdir typemap expect values: in, out, inout\n"
|
||||
|
||||
class MODULA3:public Language {
|
||||
public:
|
||||
|
|
@ -374,7 +374,7 @@ MODULA3():
|
|||
} else if (Strcmp(dir, "out") == 0) {
|
||||
return false;
|
||||
} else {
|
||||
printf(usageArgDir);
|
||||
printf(USAGE_ARG_DIR);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
@ -386,7 +386,7 @@ MODULA3():
|
|||
} else if ((Strcmp(dir, "out") == 0) || (Strcmp(dir, "inout") == 0)) {
|
||||
return true;
|
||||
} else {
|
||||
printf(usageArgDir);
|
||||
printf(USAGE_ARG_DIR);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue