Include <cstddef> in python modules to workaround Swig bug.

* wrap/python/spot.i, wrap/python/buddy.i: Include <cstddef>
because Swig 2.0.2 uses ptrdiff_t and does not do the include
itself.  In g++ most libstdc++ standard headers have been changed
to no longer include <cstddef> as an implementation detail, so
the difference shows.
This commit is contained in:
Alexandre Duret-Lutz 2011-03-29 22:52:17 +02:00
parent 4ce06114d7
commit 35a0193781
3 changed files with 22 additions and 1 deletions

View file

@ -1,3 +1,13 @@
2011-03-29 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Include <cstddef> in python modules to workaround Swig bug.
* wrap/python/spot.i, wrap/python/buddy.i: Include <cstddef>
because Swig 2.0.2 uses ptrdiff_t and does not do the include
itself. In g++ most libstdc++ standard headers have been changed
to no longer include <cstddef> as an implementation detail, so
the difference shows.
2011-03-20 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* THANKS: Add Michael Weber for his help on the DiVinE interface.