build failure

John Ralls jralls at
Mon May 11 15:35:07 EDT 2015

> On May 11, 2015, at 11:55 AM, Christoph Holtermann <c.holtermann at> wrote:
> Am 11.05.2015 um 16:26 schrieb John Ralls:
>>> On May 11, 2015, at 2:43 AM, Christoph Holtermann <c.holtermann at> wrote:
>>> Hello,
>>> can't make the current gnucash
>>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../../src/libqof/qof -I../../.. -I../../../../lib/libc -I../../../../src -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -DG_LOG_DOMAIN=\"qof\" -Wall -Wno-unused -Wno-deprecated-register -g -std=gnu++11 -g -MT gnc-timezone.lo -MD -MP -MF .deps/gnc-timezone.Tpo -c ../../../../src/libqof/qof/gnc-timezone.cpp  -fPIC -DPIC -o .libs/gnc-timezone.o
>>> In file included from /usr/include/boost/date_time/local_time/local_time_types.hpp:18:0,
>>>                from /usr/include/boost/date_time/local_time/local_time.hpp:13,
>>>                from ../../../../src/libqof/qof/gnc-timezone.hpp:34,
>>>                from ../../../../src/libqof/qof/gnc-timezone.cpp:23:
>>> /usr/include/boost/date_time/local_time/custom_time_zone.hpp: In instantiation of 'bool boost::local_time::custom_time_zone_base<CharT>::has_dst() const [with CharT = char]':
>>> ../../../../src/libqof/qof/gnc-timezone.cpp:633:1:   required from here
>>> /usr/include/boost/date_time/local_time/custom_time_zone.hpp:67:30: error: cannot convert 'const boost::shared_ptr<boost::date_time::dst_day_calc_rule<boost::gregorian::date> >' to 'bool' in return
>>>      return (dst_calc_rules_); //if calc_rule is set the tz has dst
>>>                             ^
>>> cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default]
>> Looks like your boost might be too old. 1.56.0 has 
>>      return (bool) dst_calc_rules_; //if calc_rule is set the tz has dst
>> for that line. What version do you have?
>> Regards,
>> John Ralls
> Hello John,
> it's boost 1.53.0 on openSUSE 13.1.

Please remember to copy the list on all replies.

OK, well the fix was r84636, or, titled “Merge fix for C++11 compilation error." Looks like it just missed 1.54, so 1.55 is going to have to be the minimum.

I’ve pushed the requisite change to

John Ralls

More information about the gnucash-devel mailing list