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
> news:ufzk5uply.fsf_at_boost-consulting.com...
>> "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

Hmm.

> 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: http://boost.sourceforge.net/regression-logs/cs-Linux-1_30_0-links.html#optional_test
> gcc-3.3
> gcc3.3.1: http://boost.sourceforge.net/regression-logs/cs-Linux-1_30_0-links.html#optional_test
> gcc-3.3.1

<snip>

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: http://boost.sourceforge.net/regression-logs/cs-Linux-rc-1_30_0-links.html#optional_test
> gcc-3.4-cvs
> gcc3.3: http://boost.sourceforge.net/regression-logs/cs-Linux-rc-1_30_0-links.html#optional_test
> gcc-3.3
> gcc3.3.1:
> http://boost.sourceforge.net/regression-logs/cs-Linux-rc-1_30_0-links.html#optional_test
> gcc-3.3.1

Aren't these the same tests as cited above?

> On Win32_1_30_1:
> gcc: http://boost.sourceforge.net/regression-logs/cs-win32-1_30_1-links.html#optional_test-gcc

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

> On Win32:
> Comeau 4302:
> http://boost.sourceforge.net/regression-logs/cs-win32-links.html#optional_test-como-win32
> VC60 : http://boost.sourceforge.net/regression-logs/cs-win32-links.html#optional_test-msvc

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:
> http://boost.sourceforge.net/regression-logs/cs-win32_metacomm-links.html#optional_test-meta-com
> 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:
> http://boost.sourceforge.net/regression-logs/cs-win32_metacomm-links.html#optional_test-meta-int
> el-7.1
> Intel 7.0 STLPort:
> http://boost.sourceforge.net/regression-logs/cs-win32_metacomm-links.html#optional_test-meta-int
> el-7.1-stlport
> VC 6.0:
> http://boost.sourceforge.net/regression-logs/cs-win32_metacomm-links.html#optional_test-msvc
> VC 6.0 STLPort :
> http://boost.sourceforge.net/regression-logs/cs-win32_metacomm-links.html#optional_test-msvc-stl
> 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:
> GNU-GCC:
> http://boost.sourceforge.net/regression-logs/cs-Darwin-links.html#optional_test_fail5a-darwin

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

> On HP-UX:
> aCC53800: http://boost.sourceforge.net/regression-logs/cs-HP-UX-links.html#optional_test-acc
> aCC33380: http://boost.sourceforge.net/regression-logs/cs-hpux-links.html#optional_test-acc
>
> This is a compiler crash.

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

> On Solaris:
> http://boost.sourceforge.net/regression-logs/cs-solaris-links.html#optional_test-sunpro

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

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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