Solaris warnings/errors testcase fixes

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2011-02-20 19:29:50 +00:00
commit 90847fb49e
3 changed files with 10 additions and 0 deletions

View file

@ -39,6 +39,8 @@ struct Outer {
};
///////////////////////////////////////////
#ifdef SWIG
/* some compilers do not accept these */
class {
public:
Integer a;
@ -47,6 +49,7 @@ struct Outer {
struct {
Integer b;
};
#endif
union {
Integer c;
@ -151,6 +154,8 @@ struct Outer {
Integer xx;
} MultipleInstanceAnonDerived1, MultipleInstanceAnonDerived2, *MultipleInstanceAnonDerived3, MultipleInstanceAnonDerived4[2];
#ifdef SWIG
/* some compilers do not accept these */
struct : public InnerMultiple {
Integer xx;
};
@ -159,6 +164,7 @@ struct Outer {
public:
Integer yy;
};
#endif
///////////////////////////////////////////
typedef struct {