Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-17 09:46:52


----- Original Message -----
From: <larsbj_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, January 17, 2002 9:17 AM
Subject: Re: [boost] workaround for bind/gcc warnings

> "David Abrahams" <david.abrahams_at_[hidden]> writes:
>
> | ----- Original Message -----
> | From: "Peter Dimov" <pdimov_at_[hidden]>
> >
> >> > // All compilers; I need portable code
> >> > file:// # if ((__GNUC__ == 3) && (__GNUC_MINOR__ == 0))
> >> > # define _1 arg_1
> >>
> >> I'd _hate_ to do that. Isn't there a way out? g++ folks acknowledged
the
> >> warning to be a bug, didn't they?
> >
> | Yes, but our friends failed to address it for 3.0.3 :-(
>
> Is it platform specific?
>
> On Linux x86 I have never seen this warning. It should pop up on all
> uses of '_1' right?

Yes. Are you using 3.0.3?
I can't recall whether I saw it on Linux...

-Dave


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