Re: [Boost-bugs] [Boost C++ Libraries] #13012: boost::has_equal_to fails with captureless lambda expression types

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13012: boost::has_equal_to fails with captureless lambda expression types
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-02-20 18:18:06


#13012: boost::has_equal_to fails with captureless lambda expression types
------------------------------------+--------------------------
  Reporter: Joaquín M López Muñoz | Owner: John Maddock
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: type_traits
   Version: Boost 1.63.0 | Severity: Problem
Resolution: fixed | Keywords:
------------------------------------+--------------------------

Comment (by anonymous):

 Reporting back:

 * First `b2` run generated a lot of errors as you predicted. Please let me
 know if you want me to send you a logzip.
 * Did change the line in `is_likely_lambda.hpp` as instructed.
 * Second `b2` run failed two tests as follows:

 {{{
>b2 msvc-14.0 define=CI_SUPPRESS_KNOWN_ISSUES
 Performing configuration checks

     - 32-bit : yes (cached)
     - arm : no (cached)
     - mips1 : no (cached)
     - power : no (cached)
     - sparc : no (cached)
     - x86 : yes (cached)
     - symlinks supported : no (cached)
     - junctions supported : yes (cached)
     - hardlinks supported : yes (cached)
 ...patience...
 ...found 3507 targets...
 ...updating 8 targets...
 testing.capture-output
 ..\..\..\bin.v2\libs\type_traits\test\has_nothrow_destruc
 tor_test.test\msvc-14.0\debug\threadapi-win32\threading-
 multi\has_nothrow_destru
 ctor_test.run
 ====== BEGIN OUTPUT ======
 has_nothrow_destructor_test.cpp:194: <note>The expression:
 "::boost::has_nothrow
 _destructor<UDT>::value" did not have the value we wish it to have (found
 0, exp
 ected 1)</note>
 has_nothrow_destructor_test.cpp:195: <note>The expression:
 "::boost::has_nothrow
 _destructor<empty_UDT>::value" did not have the value we wish it to have
 (found
 0, expected 1)</note>
 has_nothrow_destructor_test.cpp:203: <note>The expression:
 "::boost::has_nothrow
 _destructor<trivial_except_destroy>::value" did not have the value we wish
 it to
  have (found 0, expected 1)</note>
 has_nothrow_destructor_test.cpp:207: <note>The expression:
 "::boost::has_nothrow
 _destructor<wrap<trivial_except_destroy> >::value" did not have the value
 we wis
 h it to have (found 0, expected 1)</note>
 has_nothrow_destructor_test.cpp:214: The expression:
 "::boost::has_nothrow_destr
 uctor<noexcept_destruct>::value" had an invalid value (found 0, expected
 1)
 has_nothrow_destructor_test.cpp:215: The expression:
 "::boost::has_nothrow_destr
 uctor<nothrow_destruct>::value" had an invalid value (found 0, expected 1)

 EXIT STATUS: 2
 ====== END OUTPUT ======

     set status=0
     if %status% NEQ 0 (
         echo Skipping test execution due to testing.execute=off
         exit 0
     )
 "..\..\..\bin.v2\libs\type_traits\test\has_nothrow_destructor_test.test\msv
 c-14.0\debug\threadapi-win32\threading-
 multi\has_nothrow_destructor_test.exe"
>
 "..\..\..\bin.v2\libs\type_traits\test\has_nothrow_destructor_test.test\msvc-1
 4.0\debug\threadapi-win32\threading-
 multi\has_nothrow_destructor_test.output" 2>
 &1
     set status=%ERRORLEVEL%
     echo. >>
 "..\..\..\bin.v2\libs\type_traits\test\has_nothrow_destructor_test.
 test\msvc-14.0\debug\threadapi-win32\threading-
 multi\has_nothrow_destructor_test
 .output"
     echo EXIT STATUS: %status% >>
 "..\..\..\bin.v2\libs\type_traits\test\has_not
 hrow_destructor_test.test\msvc-14.0\debug\threadapi-win32\threading-
 multi\has_no
 throw_destructor_test.output"
     if %status% EQU 0 (
         copy
 "..\..\..\bin.v2\libs\type_traits\test\has_nothrow_destructor_test.
 test\msvc-14.0\debug\threadapi-win32\threading-
 multi\has_nothrow_destructor_test
 .output"
 "..\..\..\bin.v2\libs\type_traits\test\has_nothrow_destructor_test.test
 \msvc-14.0\debug\threadapi-win32\threading-
 multi\has_nothrow_destructor_test.run
 "
     )
     set verbose=0
     if %status% NEQ 0 (
         set verbose=1
     )
     if %verbose% EQU 1 (
         echo ====== BEGIN OUTPUT ======
         type
 "..\..\..\bin.v2\libs\type_traits\test\has_nothrow_destructor_test.
 test\msvc-14.0\debug\threadapi-win32\threading-
 multi\has_nothrow_destructor_test
 .output"
         echo ====== END OUTPUT ======
     )
     exit %status%

 ...failed testing.capture-output
 ..\..\..\bin.v2\libs\type_traits\test\has_nothr
 ow_destructor_test.test\msvc-14.0\debug\threadapi-win32\threading-
 multi\has_noth
 row_destructor_test.run...
 testing.capture-output
 ..\..\..\bin.v2\libs\type_traits\test\is_default_constr_t
 est.test\msvc-14.0\debug\threadapi-win32\threading-
 multi\is_default_constr_test.
 run
 ====== BEGIN OUTPUT ======
 is_default_constr_test.cpp:200: The expression:
 "(::boost::is_default_constructi
 ble<std::pair<deleted_default_construct, int> >::value)" had an invalid
 value (f
 ound 1, expected 0)
 is_default_constr_test.cpp:204: The expression:
 "(::boost::is_default_constructi
 ble<std::pair<private_default_construct, int> >::value)" had an invalid
 value (f
 ound 1, expected 0)

 EXIT STATUS: 2
 ====== END OUTPUT ======
 failed to write output file
 '..\..\..\bin.v2\libs\type_traits\test\is_nothrow_mo
 ve_constructible_test_no_intrinsics.test\msvc-14.0\debug\threadapi-
 win32\threadi
 ng-multi\is_nothrow_move_constructible_test_no_intrinsics.exe.rsp'!

     set status=0
     if %status% NEQ 0 (
         echo Skipping test execution due to testing.execute=off
         exit 0
     )
 "..\..\..\bin.v2\libs\type_traits\test\is_default_constr_test.test\msvc-14.
 0\debug\threadapi-win32\threading-multi\is_default_constr_test.exe" >
 "..\..\.
 .\bin.v2\libs\type_traits\test\is_default_constr_test.test\msvc-14.0\debug\threa
 dapi-win32\threading-multi\is_default_constr_test.output" 2>&1
     set status=%ERRORLEVEL%
     echo. >>
 "..\..\..\bin.v2\libs\type_traits\test\is_default_constr_test.test\
 msvc-14.0\debug\threadapi-win32\threading-
 multi\is_default_constr_test.output"
     echo EXIT STATUS: %status% >>
 "..\..\..\bin.v2\libs\type_traits\test\is_defa
 ult_constr_test.test\msvc-14.0\debug\threadapi-win32\threading-
 multi\is_default_
 constr_test.output"
     if %status% EQU 0 (
         copy
 "..\..\..\bin.v2\libs\type_traits\test\is_default_constr_test.test\
 msvc-14.0\debug\threadapi-win32\threading-
 multi\is_default_constr_test.output" "
 ..\..\..\bin.v2\libs\type_traits\test\is_default_constr_test.test\msvc-14.0\debu
 g\threadapi-win32\threading-multi\is_default_constr_test.run"
     )
     set verbose=0
     if %status% NEQ 0 (
         set verbose=1
     )
     if %verbose% EQU 1 (
         echo ====== BEGIN OUTPUT ======
         type
 "..\..\..\bin.v2\libs\type_traits\test\is_default_constr_test.test\
 msvc-14.0\debug\threadapi-win32\threading-
 multi\is_default_constr_test.output"
         echo ====== END OUTPUT ======
     )
     exit %status%

 ...failed testing.capture-output
 ..\..\..\bin.v2\libs\type_traits\test\is_defaul
 t_constr_test.test\msvc-14.0\debug\threadapi-win32\threading-
 multi\is_default_co
 nstr_test.run...
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13012#comment:15>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2018-02-20 18:23:36 UTC