Subject: Re: [boost] preprocess operation problems
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2015-01-28 10:25:57
> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Fletcher, John
> Sent: 28 January 2015 14:43
> To: boost_at_[hidden]
> Subject: [boost] preprocess operation problems
> I run with all the boost libraries on develop.
> Today the preprocess operation will not run unless I patch the file
> boost/integer/common_factor_ct.hpp with the following code after the includes.
> #ifdef BOOST_NO_INTEGRAL_INT64_T
> typedef unsigned long static_gcd_type; #else
> typedef boost::uintmax_t static_gcd_type; #endif
> The compiler errors had indicated that this definition was missing.
> I have not traced the change which caused this problem, and I have not run
> preprocess for some time so don't know what happened and when.
> I can now run with gcc 4.6
I have also found this problem (in the process of updating the documentation for
Boost.Integer which has had the GCD LCM code moved from Boost.Math to
There is also a namespace change from boost::math to boost::integer (subject to
I think you may also find that including boost/math_fwd.hpp 'cures' this
temporarily, but your fix also looks fine to me.
This should be resolved in develop soon and for the next release.
PS Shows the cost of moving things and/or putting things in the wrong place to
start with :-(
--- Paul A. Bristow Prizet Farmhouse Kendal UK LA8 8AB +44 (0) 1539 561830
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk