Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-08-14 09:47:00

"Fernando Cacciola" <fernando_cacciola_at_[hidden]> writes:

> David Abrahams <dave_at_[hidden]> wrote in message
>> "Fernando Cacciola" <fernando_cacciola_at_[hidden]> writes:
>> >
>> > There are still problems with Optional, related to some compilers
>> > not finding std swap(). I wrote the original code following
>> > compressed_pair.hpp, which is via unqualified call (to activate
>> > ADL), plus a using declaration at function scope for GCC. Recently,
>> > Jens Maurer patched it adding an alternative using declaration at
>> > namespace scope (optional_detail) for GCC, but this seems not to
>> > work as the regressions show.
>> >
>> > I don't have access to any of the failing compilers
>> Which compilers are failing and where are the regression report pages?
> Sorry for the delay, I was leaving the office when you posted this....
> Most problems related to swap ocurr with GCC>3.3

Well, 3.4 isn't even a released compiler so As far as I'm concerned
it doesn't count. 3.3.x is another story.

> and VC==6.0


> It appears that this problem ocurrs both with 1.30.0 and the current rc 1.30.2
> On Linux_1_30_0:
> gcc3.3:
> gcc-3.3
> gcc3.3.1:
> gcc-3.3.1


Unfortunately, nearly all of these links point to invalid targets so
my browser doesn't find them :(. Could you just post links to the
summary page one level up?

> On Linux: All tests passed. (how come?

I'm not sure what you mean. If it doesn't say 1_30_0 in the page
it's probably a test of the HEAD revision.

> On Libux-rc-1_30_0:

> gcc3.4:
> gcc-3.4-cvs
> gcc3.3:
> gcc-3.3
> gcc3.3.1:
> gcc-3.3.1

Aren't these the same tests as cited above?

> On Win32_1_30_1:
> gcc:

Yeah, the "fix" by Jens looks broken to me. Jens, to which versions
of GCC does this patch apply?

> On Win32:
> Comeau 4302:
> VC60 :

This two are truly odd. I'm going to install Comeau here and see if I
can reproduce it on both compilers.

> On Win32 metacomm:
> Comeau 4302:
> o-4.3.2b-vc7

Same problem as above. I'm beginning to think it wasn't run on the
same code I have on my disk.

> Intel 7.0:
> el-7.1
> Intel 7.0 STLPort:
> el-7.1-stlport
> VC 6.0:
> VC 6.0 STLPort :
> port

OK, I think I've fixed all of the above.

> The following are errors in other dependent libraries (type_traits and mpl)
> On MAC OS:

Feh. The Darwin compiler is broken almost beyond repair. Ask Ralf
Grosse-Kunstleve to tell you of his heroic efforts.

> On HP-UX:
> aCC53800:
> aCC33380:
> This is a compiler crash.

aCC is definitely broken beyond repair. I'm not going ot worry about

> On Solaris:

This one is also a compiler crash, so... "ditto"

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at