Am 11.05.2015 um 21:35 schrieb John Ralls: >> On May 11, 2015, at 11:55 AM, Christoph Holtermann <c.holterm...@gmx.de> >> wrote: >> >> Am 11.05.2015 um 16:26 schrieb John Ralls: >>>> On May 11, 2015, at 2:43 AM, Christoph Holtermann <c.holterm...@gmx.de> >>>> 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 > https://github.com/boostorg/date_time/commit/47c81a90335c1da15be02575456b65296f96946e, > 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 configure.ac. > > Regards, > John Ralls > > With 1.56 it's compiling again, thanks.
regards, Christoph -- --- Nachricht gesendet von C. Holtermann --- - - - Verschlüsselte Nachrichten können über - - den öffentlichen Schlüssel auf folgendem - - Keyserver an mich gesendet werden: - http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4DD9CF0482B0620B _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel