From: Luigi B. <lui...@gm...> - 2005-12-12 09:50:42
|
On 12/07/2005 04:44:20 PM, Mar...@mp... wrote: > Hi, I'm trying to complile QuantLib 0.3.9 on SunOS 5.8, using Sun > C++ 5.5 compiler (Sun ONE Studio 8) , and Boost 3.1.11. >=20 > [...] when I run make I get the following warnings (stripped..) >=20 > CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored > otherwise > "/usr/include/math.h", line 61: Warning (Anachronism): Attempt to > redefine M_PI without using #undef. Apparently, configure doesn't find M_PI, defines it, and afterwards =20 math.h tries to define it as well. Strange---it almost looks like =20 configure finds a different math.h or cmath. The warning should be =20 harmless though. > "/home/utb43/simone/marco/local/include/boost-1_31/boost/mpl/if.hpp", > line 71: Warning (Anachronism): Type names qualified by template =20 > parameters require "typename". >=20 > "/home/utb43/simone/marco/local/include/boost-1_31/boost/iterator/filter_= iterator.hpp", >=20 > line 131: Error: Default arguments cannot be added in later > declarations of the template function in the same scope. These seems Boost issues. You might try upgrading to Boost 1.33. Later, Luigi ---------------------------------------- Barker's Proof: Proofreading is more effective after publication. |