gcc-4.3 fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
69d6ce4f33
commit
843674e12a
1 changed files with 3 additions and 0 deletions
|
|
@ -463,7 +463,10 @@ struct Obscure {
|
||||||
enum Zero {};
|
enum Zero {};
|
||||||
enum One {one};
|
enum One {one};
|
||||||
enum Two {two, twoagain};
|
enum Two {two, twoagain};
|
||||||
|
#if defined(SWIG)
|
||||||
|
// g++-4.3 warns about this
|
||||||
typedef enum Empty {};
|
typedef enum Empty {};
|
||||||
|
#endif
|
||||||
typedef enum {} AlsoEmpty;
|
typedef enum {} AlsoEmpty;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue