2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-28 07:42:12 +00:00
Jörg Krause 1067fbe669 Fix for uClibc and gcc <= 4.8.2
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
2016-05-23 23:38:14 +02:00
2016-05-23 23:33:35 +02:00
2015-10-20 15:00:23 +02:00
2015-08-12 23:09:32 +01:00
2015-10-08 03:17:48 +02:00
2014-03-03 01:16:29 -05:00
2010-05-16 04:00:37 +00:00
2015-10-19 14:08:16 +02:00

boosttest logo

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)

Description
Mirrored via gitea-mirror
Readme BSL-1.0 13 MiB
Languages
C++ 99%
CMake 0.9%