[type_traits] is_list_constructible regression failures
Hello all,
I noticed the following failure in Boost.TypeTraits regression tests
on GCC 4.6 C++11. Any idea why this is failing?
http://www.boost.org/development/tests/master/developer/type_traits.html
Test output: igaztanaga-master-gcc-4.6c++11 - type_traits -
cxx14_aliases_test / gcc-4.6c+
Rev cb62bbf20f4a0000ee6f16835b0c2dc92edea8cd / Sun, 11 Mar 2018 03:16:04 +0000
Compile [2018-03-11 10:15:18 UTC]: fail
"C:/Programs/mingw-builds/x32-4.6.4-posix-dwarf-rev0/mingw32/bin/gcc-4.6.bat"
-pipe -fmax-errors=1 -std=c++0x -m32 -O0 -fno-inline -Wall -pedantic
-Werror -march=i686 -Wextra -Wno-bool-operation
-Wno-int-in-bool-context -Wno-uninitialized -DBOOST_ALL_NO_LIB=1
-I".." -I"..\libs\type_traits\test\libs\tt2\light\include" -c -o
"c:\boost\master\results\boost\bin.v2\libs\type_traits\test\cxx14_aliases_test.test\gcc-4.6c+\dbg\dbg-symbl-off\cxx14_aliases_test.o"
"..\libs\type_traits\test\cxx14_aliases_test.cpp"
In file included from ../boost/type_traits.hpp:110:0,
from ..\libs\type_traits\test\cxx14_aliases_test.cpp:10:
../boost/type_traits/is_list_constructible.hpp:36:61: error: expected
class-name before 'decltype'
compilation terminated due to -fmax-errors=1.
I am asking because a couple of Boost.Contract tests that #include
On 12/03/2018 19:07, Lorenzo Caminiti via Boost wrote:
Hello all,
I noticed the following failure in Boost.TypeTraits regression tests on GCC 4.6 C++11. Any idea why this is failing?
There's something different about that tester - there are several gcc-4.6 test runners in the matrix and they're all passing is_list_constructible_test bar that one. What/why the difference is there I have no idea :( John.
http://www.boost.org/development/tests/master/developer/type_traits.html
Test output: igaztanaga-master-gcc-4.6c++11 - type_traits - cxx14_aliases_test / gcc-4.6c+ Rev cb62bbf20f4a0000ee6f16835b0c2dc92edea8cd / Sun, 11 Mar 2018 03:16:04 +0000 Compile [2018-03-11 10:15:18 UTC]: fail
"C:/Programs/mingw-builds/x32-4.6.4-posix-dwarf-rev0/mingw32/bin/gcc-4.6.bat" -pipe -fmax-errors=1 -std=c++0x -m32 -O0 -fno-inline -Wall -pedantic -Werror -march=i686 -Wextra -Wno-bool-operation -Wno-int-in-bool-context -Wno-uninitialized -DBOOST_ALL_NO_LIB=1 -I".." -I"..\libs\type_traits\test\libs\tt2\light\include" -c -o "c:\boost\master\results\boost\bin.v2\libs\type_traits\test\cxx14_aliases_test.test\gcc-4.6c+\dbg\dbg-symbl-off\cxx14_aliases_test.o" "..\libs\type_traits\test\cxx14_aliases_test.cpp"
In file included from ../boost/type_traits.hpp:110:0, from ..\libs\type_traits\test\cxx14_aliases_test.cpp:10: ../boost/type_traits/is_list_constructible.hpp:36:61: error: expected class-name before 'decltype' compilation terminated due to -fmax-errors=1.
I am asking because a couple of Boost.Contract tests that #include
fail with the same Boost.TypeTraits error on this compiler. Thanks. --Lorenzo
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
--- This email has been checked for viruses by AVG. http://www.avg.com
Hello,
On Mon, Mar 12, 2018 at 12:16 PM, John Maddock via Boost
On 12/03/2018 19:07, Lorenzo Caminiti via Boost wrote:
I noticed the following failure in Boost.TypeTraits regression tests on GCC 4.6 C++11. Any idea why this is failing?>
There's something different about that tester - there are several gcc-4.6 test runners in the matrix and they're all passing is_list_constructible_test bar that one. What/why the difference is there I have no idea :(
I don't think the error is limited to that tester.
I get the same Boost.TypeTraits error in 2 Boost.Contract tests on
that compiler/plaform. All these tests do is to #include
John Maddock wrote:
On 12/03/2018 19:07, Lorenzo Caminiti via Boost wrote:
Hello all,
I noticed the following failure in Boost.TypeTraits regression tests on GCC 4.6 C++11. Any idea why this is failing?
There's something different about that tester - there are several gcc-4.6 test runners in the matrix and they're all passing is_list_constructible_test bar that one. What/why the difference is there I have no idea :(
It's possible that this is the only 4.6 tester that uses -std=c++0x. is_list_constructible has #if defined(BOOST_NO_SFINAE_EXPR) || defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || defined(BOOST_NO_CXX11_DECLTYPE) || defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) || defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS) but that's apparently not enough to disable it on 4.6. (It's probably the derivation from `decltype` that confuses the compiler.) Travis does have 4.4 and 4.6, so we may want to add these to Type Traits. https://github.com/boostorg/smart_ptr/commit/77a35856c6f51176dc15c00f0e4ca95...
On 12/03/2018 19:50, Peter Dimov via Boost wrote:
On 12/03/2018 19:07, Lorenzo Caminiti via Boost wrote:
Hello all,
I noticed the following failure in Boost.TypeTraits regression tests on > GCC 4.6 C++11. Any idea why this is failing?
There's something different about that tester - there are several gcc-4.6 test runners in the matrix and they're all passing is_list_constructible_test bar that one. What/why the difference is
John Maddock wrote: there I have no idea :(
It's possible that this is the only 4.6 tester that uses -std=c++0x. is_list_constructible has
#if defined(BOOST_NO_SFINAE_EXPR) || defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || defined(BOOST_NO_CXX11_DECLTYPE) || defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) || defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS)
but that's apparently not enough to disable it on 4.6. (It's probably the derivation from `decltype` that confuses the compiler.)
Travis does have 4.4 and 4.6, so we may want to add these to Type Traits.
https://github.com/boostorg/smart_ptr/commit/77a35856c6f51176dc15c00f0e4ca95...
Thanks, added. John. --- This email has been checked for viruses by AVG. http://www.avg.com
participants (3)
-
John Maddock
-
Lorenzo Caminiti
-
Peter Dimov