On Thu, Jul 07, 2016 at 11:31:16 +0200, Milan Crha wrote: > On Wed, 2016-07-06 at 15:07 +0200, Tino Mettler wrote: > > > Isn't it possible to compile when asking explicitly for an older > > > C++ version than the one used by g++ by default? > > > > I'll check. > > Hi, > these are changes in Fedora made to build with gcc 6. The way it deals > with the bools is also different: > > http://pkgs.fedoraproject.org/cgit/rpms/syncevolution.git/commit/?id=c5c0a9d02537885cea9ad806d66483e3d3e62b98
Hi, thanks for the pointer. using get() for a check with 0 (maybe nullptr instead if 0 would be better suited) seems to be the same as a cast to bool, according to http://en.cppreference.com/w/cpp/memory/shared_ptr/operator_bool. So it is actually not that different. > There was done also a follow-up change, but I do not know whether it'll > be relevant for your build/distribution: > > http://pkgs.fedoraproject.org/cgit/rpms/syncevolution.git/commit/?id=0fbfc438e3c784e3d6a6fd6f63abb30c8eb39600 -fPIC is already enforced in the Debian build. Regards, Tino _______________________________________________ SyncEvolution mailing list [email protected] https://lists.syncevolution.org/mailman/listinfo/syncevolution
