Boost logo

Boost :

From: Jonathan Wakely (cow_at_[hidden])
Date: 2005-06-09 14:48:35


On Wed, Jun 08, 2005 at 05:20:26PM -0400, David Abrahams wrote:

> Peder Holt <peder.holt_at_[hidden]> writes:
>
> > On 6/8/05, David Abrahams <dave_at_[hidden]> wrote:
> >> Peder Holt <peder.holt_at_[hidden]> writes:
> >>
> >>
> >> Maybe I'm missing something obvious, but I don't see how any of this
> >> leads to compile-time constants. On a conforming compiler, a
> >> calculation involving floating-point is not a compile-time constant.
> >
> > In that case VC7.1,VC8.0 beta and GCC3.2 got it wrong somewhere :)
>
> That's a known extension in vc7.1. The head of the VC++ team himself
> told me about it (his favorite unintentional extension, I think), and
> told me it was gone in vc8.x, I'm pretty sure. I'm surprised to hear
> that it works for you there. Can't speak for GCC.

This was an undocumented extension that has been deprecated in GCC 4

c.f. http://gcc.gnu.org/ml/gcc/2005-01/msg01744.html
and the last two items here:
http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Deprecated-Features.html#Deprecated-Features

jon

-- 
"We're doomed!"
	- C3PO

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