Don't test new aliases prior to gcc 4.6.4.

Add config_info output to travis build.
This commit is contained in:
jzmaddock
2017-05-19 08:40:54 +01:00
parent c725b736be
commit 85df11dad2
2 changed files with 3 additions and 1 deletions

View File

@ -316,6 +316,7 @@ install:
- python tools/boostdep/depinst/depinst.py type_traits
- ./bootstrap.sh
- ./b2 headers
- $COMPILER -std=$CXXSTD -I. -O3 libs/config/test/config_info.cpp -o config_info && ./config_info
script:
- |-

View File

@ -8,6 +8,7 @@
#define TT_TEST_HPP
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
#if defined(_WIN32_WCE) && defined(BOOST_MSVC)
#pragma warning(disable:4201)
@ -96,7 +97,7 @@ int error_count = 0;
int main(){
#define TT_TEST_END return error_count; }
#ifndef BOOST_NO_CXX11_TEMPLATE_ALIASES
#if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) && !BOOST_WORKAROUND(BOOST_GCC, < 40704)
#define TRANSFORM_CHECK_ALIASES(name, from_suffix, to_suffix)\
BOOST_CHECK_TYPE(bool to_suffix, name##_t<bool from_suffix>);\