the next standard compiler in the next suse release (12.0/12.1?) is gcc-4.6.+
Like in the past it's go stricter and stricter and now cstddef isn't automatically included anymore.
This little patch fixes it:
Code: Select all
diff -urN celestia.org/src/celengine/frametree.h celestia/src/celengine/frametree.h
--- celestia.org/src/celengine/frametree.h 2011-08-19 16:04:58.000000000 +0200
+++ celestia/src/celengine/frametree.h 2011-09-26 00:14:38.260914216 +0200
@@ -13,6 +13,7 @@
#ifndef _CELENGINE_FRAMETREE_H_
#define _CELENGINE_FRAMETREE_H_
+#include <cstddef>
#include <vector>
class Star;
diff -urN celestia.org/thirdparty/Eigen/Eigen/Core celestia/thirdparty/Eigen/Eigen/Core
--- celestia.org/thirdparty/Eigen/Eigen/Core 2011-08-19 16:05:19.000000000 +0200
+++ celestia/thirdparty/Eigen/Eigen/Core 2011-09-27 23:21:01.405188758 +0200
@@ -51,6 +51,7 @@
#endif
#include <cstdlib>
+#include <cstddef>
#include <cmath>
#include <complex>
#include <cassert>
see you
refsteff