fixes for gcc-4.0 interpretation of the C++ standard - anonymous declarations cannot have external C++ linkage.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-05-09 19:37:41 +00:00
commit d2e8563699
2 changed files with 3 additions and 0 deletions

View file

@ -35,6 +35,7 @@ struct StructWithEnums {
}
};
extern "C"
enum {Hi, Hello } hi;
%}