Boost logo

Boost :

From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2002-12-11 18:33:50


----- Original Message -----
From: "Gennaro Prota" <gennaro_prota_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, December 11, 2002 3:20 PM
Subject: [boost] Re: [Config] Testing instructions for compiler vendors

> On Wed, 11 Dec 2002 14:38:03 -0800, "Paul Mensonides"
> <pmenso57_at_[hidden]> wrote:
>
> >It easy to cause it to error though:
> >
> >#define BOOST_WORKAROUND(symbol, test) (((symbol) != 0) && 1 % ((symbol)
> >test ? 1 : 0))
>
> Ah, yes, of course! I removed division-by-zero from my mental bag of
> give-me-an-error-please tools, when I discovered it just emits a
> warning (removable, what's more) with Borland C++ :-)

Does it only emit a warning for modulus by zero too?

Paul Mensonides


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