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:
parent
7c51b33a69
commit
22407f3517
9 changed files with 18 additions and 18 deletions
|
|
@ -8,5 +8,5 @@ namespace ArrayExample
|
|||
public:
|
||||
arr_short8 node_list;
|
||||
};
|
||||
};
|
||||
}
|
||||
%}
|
||||
|
|
|
|||
|
|
@ -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;}
|
||||
|
||||
%}
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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 { };
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ namespace hello
|
|||
// This doesn't work
|
||||
//
|
||||
typedef Hi<hi::hi0> Hi0;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
namespace oss
|
||||
|
|
|
|||
|
|
@ -16,6 +16,6 @@
|
|||
|
||||
Foo blah() {
|
||||
return Foo();
|
||||
};
|
||||
}
|
||||
%}
|
||||
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
};
|
||||
|
||||
%}
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) { }
|
||||
};
|
||||
|
||||
%}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue