yafray-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Yafray-devel] can't compile it


From: henrik wilming
Subject: [Yafray-devel] can't compile it
Date: Sat, 21 Dec 2002 08:42:08 +0100

Hey!

I can't compile the newest version.this is the output:
address@hidden yafray-0.0.2-8]$ make
make  all-recursive
make[1]: Wechsel in das Verzeichnis Verzeichnis »/home/henrik/yafray-0.0.2-8«
Making all in src
make[2]: Wechsel in das Verzeichnis Verzeichnis 
»/home/henrik/yafray-0.0.2-8/src«
source='arealight.cc' object='arealight.o' libtool=no \
depfile='.deps/arealight.Po' tmpdepfile='.deps/arealight.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..     -ggdb -O3 -Wall   -c -o arealight.o `test 
-f arealight.cc || echo './'`arealight.cc
In file included from /usr/include/c++/3.2/backward/ostream.h:31,
                 from vector3d.h:26,
                 from light.h:26,
                 from arealight.h:26,
                 from arealight.cc:23:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This 
file includes at least one deprecated or antiquated header. Please consider 
using
one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples 
include substituting the <X> header for the <X.h> header for C++ includes, or 
<sstream> instead of the deprecated header <strstream.h>. To disable this 
warning use -Wno-deprecated.
In file included from object3d.h:29,
                 from scene.h:26,
                 from light.h:27,
                 from arealight.h:26,
                 from arealight.cc:23:
bound.h:210: warning: `typename std::vector<T, std::allocator<_CharT>
   >::iterator' is implicitly a typename
bound.h:210: warning: implicit typename is deprecated, please see the
   documentation for details
bound.h:211: warning: `typename std::vector<T, std::allocator<_CharT>
   >::iterator' is implicitly a typename
bound.h:211: warning: implicit typename is deprecated, please see the
   documentation for details
bound.h: In function `gBoundTreeNode_t<T>* buildGenericTree(const
   std::vector<T, std::allocator<_CharT> >&, bound_t (*)(const std::vector<T,
   std::allocator<_CharT> >&), bool (*)(const T&, bound_t&), point3d_t
   (*)(const T&), unsigned int, unsigned int)':
bound.h:242: warning: `typename std::vector<T, std::allocator<_CharT>
   >::const_iterator' is implicitly a typename
bound.h:242: warning: implicit typename is deprecated, please see the
   documentation for details
bound.h:251: warning: `typename std::vector<T, std::allocator<_CharT>
   >::const_iterator' is implicitly a typename
bound.h:251: warning: implicit typename is deprecated, please see the
   documentation for details
bound.h:260: warning: `typename std::vector<T, std::allocator<_CharT>
   >::const_iterator' is implicitly a typename
bound.h:260: warning: implicit typename is deprecated, please see the
   documentation for details
bound.h:267: warning: `typename std::vector<T, std::allocator<_CharT>
   >::const_iterator' is implicitly a typename
bound.h:267: warning: implicit typename is deprecated, please see the
   documentation for details
bound.h: At global scope:
bound.h:303: warning: `typename std::vector<T, std::allocator<_CharT>
   >::const_iterator' is implicitly a typename
bound.h:303: warning: implicit typename is deprecated, please see the
   documentation for details
bound.h:304: warning: `typename std::vector<T, std::allocator<_CharT>
   >::const_iterator' is implicitly a typename
bound.h:304: warning: implicit typename is deprecated, please see the
   documentation for details
arealight.cc: In member function `int areaLight_t::fillQuad(const point3d_t&,
   const point3d_t&, const point3d_t&, const point3d_t&, std::vector<point3d_t,
   std::allocator<point3d_t> >&, std::vector<vector3d_t,
   std::allocator<vector3d_t> >&, int)':
arealight.cc:46: call of overloaded `sqrt(int&)' is ambiguous
/usr/include/bits/mathinline.h:441: candidates are: double sqrt(double)
/usr/include/c++/3.2/cmath:465:                 long double std::sqrt(long
   double)
/usr/include/c++/3.2/cmath:461:                 float std::sqrt(float)
arealight.cc:47: call of overloaded `sqrt(int&)' is ambiguous
/usr/include/bits/mathinline.h:441: candidates are: double sqrt(double)
/usr/include/c++/3.2/cmath:465:                 long double std::sqrt(long
   double)
/usr/include/c++/3.2/cmath:461:                 float std::sqrt(float)
make[2]: *** [arealight.o] Error 1
make[2]: Verlassen des Verzeichnisses Verzeichnis 
»/home/henrik/yafray-0.0.2-8/src«
make[1]: *** [all-recursive] Error 1
make[1]: Verlassen des Verzeichnisses Verzeichnis »/home/henrik/yafray-0.0.2-8«
make: *** [all] Error 2
address@hidden yafray-0.0.2-8]$

cya henrik



reply via email to

[Prev in Thread] Current Thread [Next in Thread]