Boost logo

Boost :

From: Geurt Vos (G.Vos_at_[hidden])
Date: 2001-04-11 02:23:01


>
>
> > BC++ 5.5 coughs up the warning "Conversion may lose significant digits",
> > but in my experience this is the single most ignored warning. MSVC++
> > warns only at level 4, but I don't think you want to use this level.
>
> I don't ignore the "digits" warning, and I never use anything below the
> maximum warning level.
>
> I think that in this respect any_function is fine as it is.
>

I don't think you're really being realistic here. I mean,
_you_ don't ignore them, _I_ don't ignore them, but that's
still not the majority.

Besides that, there's no warning when GCC (2.95.2) is used,
which should cause some concern...

about MSVC, most people will simply leave it at warning
level 3, which also doesn't issue this conversion warning...

[sidenote:
I never use MSVC at level 4, because it results in way too many
warning in MS's code, and also generates quite some redundant
warnings, such as "unreferenced inline function has been removed"
]

Geurt


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk