Boost logo

Boost Users :

Subject: Re: [Boost-users] bug in boost or in gcc-5.2.0 ?
From: renaud lepere (lepere.renaud_at_[hidden])
Date: 2015-09-28 16:20:06


With BOOST_1_59 vs 1_57, the simple test case works.
However I still have unexpected failure latter in my code (crash), but I
have
difficulties to reduce to a simple test case (not yet succeed).

However, if I replace the lambda Check by a function in my code base then
it works perfeclty well.
If I remove calls to BOOST_CHECK in the lambda it works also.

Is it bad to use a lambda together with BOOST_CHECK ?

Le 28/09/2015 18:32, Gennadiy Rozental a écrit :
> renaud lepere <lepere.renaud <at> yahoo.com> writes:
>
>>
>> I have a strange problem with mingw-w64, gcc-5.2.0 in 32bits on windows
>> in release. The following code leads to a crash (it is working in 64
>> bits and in debug). The adress of return in the stack seems to be
>> broken. I was not able to reduce it more than this, and in particular I
>> am not able to remove BOOST_CHECK_CLOSE (using BOOST_CHECK_EQUAL works).
> I do not have access to this setup. Can you try 1.59's BOOST_TEST version
> for floating points comparisons?
>
> Gennadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net