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:
William S Fulton 2008-04-05 19:36:58 +00:00
commit 843674e12a

View file

@ -463,7 +463,10 @@ struct Obscure {
enum Zero {};
enum One {one};
enum Two {two, twoagain};
#if defined(SWIG)
// g++-4.3 warns about this
typedef enum Empty {};
#endif
typedef enum {} AlsoEmpty;
};