Add missing headers in generated STL wrappers to fix compilation with gcc-4.6
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f5feb6cc24
commit
c339c0b4f7
2 changed files with 5 additions and 1 deletions
|
|
@ -5,6 +5,9 @@ See the RELEASENOTES file for a summary of changes in each release.
|
||||||
Version 2.0.3 (in progress)
|
Version 2.0.3 (in progress)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
2011-03-17: wsfulton
|
||||||
|
[UTL] Add missing headers in generated STL wrappers to fix compilation with gcc-4.6.
|
||||||
|
|
||||||
2011-03-17: wsfulton
|
2011-03-17: wsfulton
|
||||||
Fix regression introduced in swig-2.0.2 where filenames with spaces were not found
|
Fix regression introduced in swig-2.0.2 where filenames with spaces were not found
|
||||||
when used with %include and %import. Reported by Shane Liesegang.
|
when used with %include and %import. Reported by Shane Liesegang.
|
||||||
|
|
|
||||||
|
|
@ -20,12 +20,13 @@
|
||||||
%}
|
%}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Common code for supporting the STD C++ namespace
|
// Common code for supporting the C++ std namespace
|
||||||
//
|
//
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
#include <stddef.h>
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue