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:
parent
25ff27a147
commit
d2e8563699
2 changed files with 3 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ struct StructWithEnums {
|
|||
}
|
||||
};
|
||||
|
||||
extern "C"
|
||||
enum {Hi, Hello } hi;
|
||||
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue