mirror of
https://github.com/boostorg/test.git
synced 2026-01-28 07:42:12 +00:00
1067fbe6699034563ecadcd7b9907d90641d84bf
getchar() is defined as a macro in uClibc. This hits gcc bug 58952 [1] for all
gcc version <= 4.8.2 and building boost/test fails:
./boost/test/impl/unit_test_main.ipp: In function 'int boost::unit_test::unit_test_main(boost::unit_test::init_unit_test_func, int, char**)':
./boost/test/impl/unit_test_main.ipp:194:18: error: expected unqualified-id before '(' token
To allow building boost/test with uClibc based toolchains with gcc <= 4.8.2 use
parenthesis for std::getchar.
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58952
This is the main directory for the Boost Test Library.
(Not to be confused with a directory containing test programs for the parent directory.)
Full instructions for use of this library can be accessed from http://www.boost.org/doc/libs/release/libs/test/
This library is part of boost (see www.boost.org), the latest version of the library is available from the boost web site, or development snapshots from the boost git repository at https://github.com/boostorg/test
Copyright 2001-2014, Gennadiy Rozental.
Copyright 2013-2015, Boost.Test team.
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt)
Languages
C++
99%
CMake
0.9%
