* Martin Michlmayr <t...@cyrius.com> [2008-11-14 15:43]:
> > 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 {
> 

I just compiled 1.8.1.2-2.  The patch above is still needed.  It's
fixed in upstream cctbx (I checked 2009_02_15_2320), so you can
either ask upstream to sync with 2009_02_15_2320 or to put in my
patch.

However, there's one issue in Fox itself too:

make[3]: Leaving directory `/home/tbm/src/objcryst-fox-1.8.1.2/ObjCryst/wxCryst'
g++ -O3 -w -ffast-math -fstrict-aliasing -pipe -fomit-frame-pointer 
-funroll-loops -I/include 
-I/home/tbm/src/objcryst-fox-1.8.1.2/Fox/src/../../ObjCryst 
-I/home/tbm/src/objcryst-fox-1.8.1.2/Fox/src/../../static-libs/include 
-DOBJCRYST_GL -I/usr/X11R6/include -IGL -DHAVE_GLUT -D__WX__CRYST__ `wx-config 
--unicode=yes --cxxflags` -DHAVE_FFTW  -D'__FOXVERSION__=""' -c Fox.cpp -o Fox.o
Fox.cpp: In member function 'virtual bool MyApp::OnInit()':
Fox.cpp:497: error: parameter may not have variably modified type 'wxString 
[(((long unsigned int)(((long int)i) + -0x00000000000000001)) + 1)]'
make[2]: *** [Fox.o] Error 1

Please forward this upstream.
-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to