Bug #504
Libprelude compilation error
Start date:
07/12/2012
Due date:
% Done:
0%
Resolution:
Description
With GCC4.6 or higher, compiling the libprelude sources causes this problem :
error: 'ptrdiff_t' does not name a type
A quick fix can be to modify _PreludeEasy.cxx, a swig-generated file that can be found in the bindings/python/ directory, by adding #include <cstddef> at the beginning.
To permanently solve the problem, this file should maybe be regenerated from libpreludecpp-python.i with a more recent version of swig.
History
#1 Updated by Antoine LUONG about 11 years ago
- File libprelude-gcc-swig.diff View added
Or patch the libpreludecpp-python.i with the attached file (it works fine with GCC 4.4).
#2 Updated by Jean-Charles ROGEZ about 10 years ago
- Target version set to 124
#3 Updated by Thomas ANDREJAK almost 8 years ago
- Target version changed from 124 to Prelude OSS 3.0.0
#4 Updated by Thomas ANDREJAK over 7 years ago
- Target version changed from Prelude OSS 3.0.0 to Prelude OSS 3.1.0
#5 Updated by Antoine LUONG over 7 years ago
- Status changed from New to Closed
The problem does not occur with recent SWIG versions.