In order to compile libcmis-0.6.3 on a recent system (LinuxFromScratch, gcc-16.1.0, boost-1.91.0), I need to:
sed -e '/int i = 0;/d' -e 's/, ++i//g' -i src/libcmis-c/object{,-type}.cxx
otherwise the compiler bails out with: variable 'i' set but not used
boost_cv_inc_path="yes" ./configure ...
otherwise BOOST_CPPFLAGS is set and the compiler explicitly includes -i system /usr/include which makes #include_next <stdlib.h> from /usr/include/c++/16.1.0/cstdlib fail
Regards
Uwe
In order to compile libcmis-0.6.3 on a recent system (LinuxFromScratch, gcc-16.1.0, boost-1.91.0), I need to:
sed -e '/int i = 0;/d' -e 's/, ++i//g' -i src/libcmis-c/object{,-type}.cxx
otherwise the compiler bails out with: variable 'i' set but not used
boost_cv_inc_path="yes" ./configure ...
otherwise BOOST_CPPFLAGS is set and the compiler explicitly includes -i system /usr/include which makes #include_next <stdlib.h> from /usr/include/c++/16.1.0/cstdlib fail
Regards
Uwe