[Dbus-cxx-devel] Some potential backward compatibility patches
Status: Beta
Brought to you by:
rvinyard
From: <rya...@Te...> - 2009-09-21 21:03:35
|
Hi again, after today having dbus-cxx croak on "make" with gcc-4.2 after I tried using my program at work (I use gcc-4.3 / gcc-4.4 at home), I made these fixes for (slightly) older gcc versions. dbus_cxx_configure.in_gcc_4.2_compat.patch changes configure.in to additionally allow for the different includes for tr1 in gcc-4.2 (as opposed to 4.1 which the current tr1 shared pointer mode seemed to be based on) dbus_cxx_tr1_smartpointers_for_gcc_4.2.patch does the same for dbus-cxx/pointer.h dbus_cxx_remove_default_template_arguments_for_gcc_le_4.2.patch is simply an expansion of the "=nil" default template arguments in several .h headers / .h.m4 headers, which seem not to be allowed at all before gcc-4.3. I have #if'fed the defaulted version in for newer gccs, although the expanded version would suffice, I assume? Please consider them to increase backwards compatibility with older gccs, a.k.a. those running in "stable" workgroup setups, and on OSX :) They enabled me to build dbus-cxx on our old gcc-4.2 Ubuntu hardy. Regards, Ramin |