Searched hist:8860 (Results 1 - 1 of 1) sorted by relevance
/gem5/src/python/m5/ | ||
H A D | SimObject.py | diff 8860:ccd525e43682 Wed Feb 29 04:26:00 EST 2012 Andreas Hansson <andreas.hansson@arm.com> SWIG: Ensure ptrdiff_t is a known type in gcc >= 4.6.1 This patch fixes a compilation error that occurs with gcc >= 4.6.1, caused by swig not including cstddef and not using the std:: namespace prefix for ptrdiff_t. There is an old patch, http://reviews.m5sim.org/r/913/ that no longer applies cleanly and this might be re-iterating the same issue. We work around the problem by always enforcing the inclusion of cstddef in all swig interface declarations, and also by explicitly using std::ptrdiff_t. |
Completed in 34 milliseconds