Boost logo

Geometry :

Subject: Re: [geometry] warnings with gcc
From: Barend Gehrels (barend_at_[hidden])
Date: 2012-01-18 15:32:41

Hi Christophe,

> I attach a patch based on trunk

I'm applying your patches. Nearly all of them will be taken over (so: at
least in Trunk).

There is one controversial one: the patch of point.hpp

You have initialized the values to zero which is a logical thing to do.
And in this case I knew there were warnings. But... We don't want to
initialize them to zero... There was some correspondence about that
years ago on the Boost mailing list. People are quite sensitive to this.
Like C++ does not initialize an int to zero, we also don't want to do
this to our points.

I saw some other things (based on your patch) that could be done
(removing the if's there), so will do that, and will think about other
solutions (ideas welcome) to surpress the warnings.

Regards, Barend

Geometry list run by mateusz at