Boost logo

Boost Users :

Subject: Re: [Boost-users] Compilation errors after upgrading from 1.38 to 1.55
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-04-04 16:49:25


On 04/04/2014 12:58 PM, Normand Mongeau wrote:
> I'm trying to change our boost version from 1.38 to 1.55, and am getting
> these compilation errors:
> 1>D:\RootReferences\boost_1_55_0\boost/math/special_functions/detail/round_f
> wd.hpp(24): warning C4002: too many actual parameters for macro 'trunc'
> <snip>
> Any ideas as to what the problem is?

Why is trunc defined as a macro? In VS2010, the
cmath #defines are guarded by #ifndef __cplusplus

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at