On Mon, 2011-11-28 at 13:50 -0500, Stephen Gallagher wrote:
There are several places in the code where we rely on type-punned
pointers (such as with the sssm_*_id_init() functions).
Most modern distros build with -fno-scrict-aliasing by default, so we're
safe there. However some older distros (notably RHEL 5) do not have this
enabled by default. For safety at -O2, we need to set this explicitly.
Simo acked this off-list.
Pushed to master, sssd-1-6 and sssd-1-5.