Boost logo

Boost :

Subject: [boost] [type_traits] is_list_constructible regression failures
From: Lorenzo Caminiti (lorcaminiti_at_[hidden])
Date: 2018-03-12 19:07:08


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
<boost/type_traits.hpp> fail with the same Boost.TypeTraits error on
this compiler.

Thanks.
--Lorenzo


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