Package: objcryst-fox
Version: 1.7.99.R1047-1
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.
GCC 4.4 cleaned up some more C++ headers. You always have to #include
headers directly and cannot rely for things to be included indirectly.
You can reproduce this problem with gcc-snapshot from unstable.
> Automatic build of objcryst-fox_1.7.99.R1047-1 on em64t by sbuild/amd64 0.53
...
> g++ -O3 -Wall -pedantic -Icctbx/include/ -Iscitbx/include/ -I../ -c
> cctbx/sgtbx/reciprocal_space_ref_asu.cpp -o
> cctbx/sgtbx/reciprocal_space_ref_asu.o
> In file included from
> cctbx/include/cctbx/sgtbx/reciprocal_space_reference_asu.h:5,
> from cctbx/sgtbx/reciprocal_space_ref_asu.cpp:1:
> cctbx/include/cctbx/miller.h: In member function 'std::string
> cctbx::miller::index<NumType>::as_string() const':
> cctbx/include/cctbx/miller.h:93: error: 'sprintf' is not a member of 'std'
> make[3]: *** [cctbx/sgtbx/reciprocal_space_ref_asu.o] Error 1
> make[3]: Leaving directory `/build/tbm/objcryst-fox-1.7.99.R1047/cctbx'
Please note that I don't know if this patch is complete - I guess an
internal compiler error later on while compiling your package.
--- cctbx/cctbx/include/cctbx/miller.h~ 2008-11-14 14:16:06.000000000 +0000
+++ cctbx/cctbx/include/cctbx/miller.h 2008-11-14 14:18:18.000000000 +0000
@@ -10,6 +10,8 @@
#include <cctbx/import_scitbx_af.h>
#include <cctbx/error.h>
+#include <cstdio>
+
namespace cctbx {
//! Miller index namespace.
namespace miller {
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]