Boost logo

Geometry :

Subject: [ggl] Warnings
From: Mateusz Loskot (mateusz)
Date: 2009-06-19 12:34:35

Chris Browet wrote:
> I noticed GCC gives more warnings than MSVC,


I noticed that some/many projects in GGL have warning level set down to
level W1, so ensure you compile with level W3. I personally prefer to
compile all my code as level W4 plus (very important)
language extensions disabled

I think it's reasonable for library like GGL, which is not
specific to Win32.

> And different versions of GCC gives different warnings... :-(

What versions you exactly mean?

> There are also warnings in the projections re "proj_parm" in the "setup"
> of the projections. Often, it is not used. e.g.
> template <typename Parameters>
> void setup(Parameters& par, par_putp4p& proj_parm)
> {

The generator program should put this here:


> <> = 0.;
> // par.inv = s_inverse;
> // par.fwd = s_forward;
> }

Best regards,

Mateusz Loskot,

Geometry list run by mateusz at