remove more warnings, ICC

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-09-17 21:46:44 +00:00
commit 22407f3517
9 changed files with 18 additions and 18 deletions

View file

@ -8,5 +8,5 @@ namespace ArrayExample
public:
arr_short8 node_list;
};
};
}
%}

View file

@ -69,7 +69,7 @@ public:
ReturnValuesTest() : int3(NULL) {}
};
const int* globalRet1() {return &GlobalInt;};
int* const globalRet2() {return &GlobalInt;};
const int* globalRet1() {return &GlobalInt;}
int* const globalRet2() {return &GlobalInt;}
%}

View file

@ -17,14 +17,14 @@
class Test {
public:
Test() { };
~Test() { };
Test() { }
~Test() { }
char *method() {
return (char *) "Test::method";
}
};
typedef Test *TestPtr;
void weird(Bad x, ::Bad y) { };
void weird(Bad x, ::Bad y) { }
}
char *do_method(example::TestPtr t) {

View file

@ -22,7 +22,7 @@ Foo *create_Foo() {
return new Foo();
}
void test1(Foo *f, Integer x) { };
void test1(Foo *f, Integer x) { }
class Bar : public Foo { };

View file

@ -40,7 +40,7 @@ namespace hello
// This doesn't work
//
typedef Hi<hi::hi0> Hi0;
};
}
namespace oss

View file

@ -16,6 +16,6 @@
Foo blah() {
return Foo();
};
}
%}

View file

@ -53,7 +53,7 @@
friend int foo(A*, B*);
};
inline int foo(A*, B*) { return 0; };
inline int foo(A*, B*) { return 0; }
%}
@ -65,7 +65,7 @@
// since they are not C/C++/CPP standard.
//
%extend Hello {
int hi(int) { return 0; };
int hi(int) { return 0; }
}
%rename(chao) hi(int);
@ -100,7 +100,7 @@
typedef int Int;
typedef double Int;
friend short hello(int);
int hi(int) { return 0; };
int hi(int) { return 0; }
};
%}

View file

@ -16,7 +16,7 @@ namespace Namespace {
typedef const Error* ErrorPtr;
typedef int IntArray[10];
enum EnumTest { enum1, enum2 };
};
}
class Foo {
public:
void test_int() throw(int) {

View file

@ -3,14 +3,14 @@
%inline %{
void globalfunc(void) {
};
}
class Foo {
public:
Foo() { };
void memberfunc(void) { };
static void staticmemberfunc(void) { };
Foo() { }
void memberfunc(void) { }
static void staticmemberfunc(void) { }
};
%}