Commit Graph
51 Commits
Author SHA1 Message Date
Peter Dimov 0dab6737eb Use <warnings>pedantic 2022-06-28 16:40:40 +03:00
Peter Dimov a3f658b15d Use <warnings>extra 2022-06-28 14:15:40 +03:00
Peter Dimov 423b695ec0 Remove spirit_conflict_test.cpp; Spirit has been fixed 2022-06-28 02:41:50 +03:00
Peter Dimov 5ec08e62cd Update test/Jamfile 2022-06-28 02:10:34 +03:00
Peter Dimov a9ab336f89 Reenable ASAN for GCC 12 -m32 2022-06-27 20:31:39 +03:00
Peter Dimov 3951447dac Update test/Jamfile 2022-06-27 19:48:06 +03:00
Peter Dimov af016adda1 Fix duplicate test under CMake 2021-11-03 16:19:31 +02:00
Peter Dimov ccc1def8c9 Use -ffloat-store for endian_arithmetic_test to avoid -m32 failures 2021-10-29 05:49:25 +03:00
Peter Dimov 7832a88828 Make endian_arithmetic's data member public when BOOST_ENDIAN_NO_CTORS is defined; add test 2020-10-06 19:34:40 +03:00
Peter Dimov 94b5b7c73f Add test for arithmetic -> buffer conversions 2020-10-06 19:08:25 +03:00
Peter Dimov 914d7d5c8d Make endian_buffer::value_ public when BOOST_ENDIAN_NO_CTORS is defined; add test 2020-10-06 18:53:56 +03:00
Peter Dimov 9ee301b103 Enable conditional_reverse_inplace for arrays 2020-05-05 21:24:02 +03:00
Peter Dimov 62091e5d0c Add an overload of endian_reverse_inplace for arrays 2020-05-05 20:06:21 +03:00
Peter Dimov 8e617a69d1 Enable scoped enums in endian_reverse 2020-05-03 00:10:26 +03:00
Peter Dimov ceb58197d5 Add detail/is_scoped_enum.hpp 2020-05-02 20:23:35 +03:00
Peter Dimov 69c020ea8f Constrain the primary endian_reverse to not apply to class types; add test. Fixes #41. 2020-01-13 16:22:16 +02:00
Peter Dimov 3a50c15a97 Add CMake install support, tests 2020-01-05 03:29:05 +02:00
Peter Dimov 816c7597e3 Add order_test.cpp 2020-01-05 01:32:57 +02:00
Peter Dimov c64f7c3372 Add <boost/endian.hpp> 2019-10-22 19:41:49 +03:00
Peter Dimov 51f095f019 Add data_test 2019-10-15 21:07:40 +03:00
Peter Dimov af83fc2537 Add float_typedef_test 2019-10-15 02:41:11 +03:00
Peter Dimov 4054afda70 Add convenience store functions 2019-10-12 19:21:19 +03:00
Peter Dimov 22d0d7bcd1 Add convenience load functions 2019-10-12 18:50:59 +03:00
Peter Dimov 3c296ff707 Add test/endian_reverse_cx_test 2019-10-11 19:42:32 +03:00
Peter Dimov b29b3dfc10 Move all deprecated names to endian.hpp; add deprecated_test.cpp to test/Jamfile 2019-04-29 00:36:21 +03:00
Peter Dimov c59eb627ad Add endian_arithmetic_test 2019-04-28 00:58:51 +03:00
Peter Dimov 6047813081 Add endian_store_test 2019-04-27 18:03:43 +03:00
Peter Dimov 64607e2e2e Use -Wno-sign-compare on g++ 4.4.7 2019-04-27 06:49:39 +03:00
Peter Dimov d9e5fb0d41 Add endian_ld_st_roundtrip_test 2019-04-27 02:40:47 +03:00
Peter Dimov 2df48f1427 Add endian_load_test 2019-04-27 02:15:39 +03:00
Peter Dimov 8f890ed3c3 Add -Wno-strict-aliasing for g++ 4.4.7 (false positive) 2019-03-20 19:54:15 +02:00
Peter Dimov 6b65a4b6ed Add endian_reverse_test_ni 2019-03-20 02:25:54 +02:00
Peter Dimov 185573f341 Re-enable warnings as errors for endian_reverse_test 2019-03-19 04:22:24 +02:00
Peter Dimov 2d60299b71 Add endian_reverse_test 2019-03-18 21:51:08 +02:00
Peter Dimov 3c6c06616d Disable warnings-as-errors=on for spirit_conflict_test 2019-03-13 19:00:45 +02:00
Peter Dimov 2bd479044b Add spirit_conflict_test.cpp (refs #33) 2019-03-13 02:12:48 +02:00
Peter Dimov e5a1b739c2 Update Jamfile handling of warnings 2019-02-19 01:50:23 +02:00
Peter Dimov e6266a7a60 Move <warnings-as-errors>on to default-build 2019-02-19 01:05:40 +02:00
Peter Dimov 533c82fa92 Add test/quick.cpp 2019-01-06 20:32:19 +02:00
Peter Dimov 84273c7139 Add BOOST_ENDIAN_NO_INTRINSICS tests to test/Jamfile 2018-12-06 18:02:52 +02:00
Peter Dimov 59126b39ae Add intrinsic_test.cpp to test/Jamfile 2018-12-06 17:51:38 +02:00
Beman 5caf1d16c8 Remove floating point support for boost 1.58.0. As currently implemented, return by value operations are not reliable because normalization and other bit pattern changes can occur. Docs not updated as yet. Floating point support will be corrected and reinstated for boost 1.59.0, based on in-place customization and inplace and/or copy signatures to replace the unsafe (i.e. native_to_big/little ) by value returns. The big/little_to_native return by value functions are safe, but require reimplementation. 2015-03-24 17:24:56 -04:00
Beman 5ab08db7a4 Use BOOST_NO_CXX11_NUMERIC_LIMITS for testing with C++03 standard libraries. Always show test output. 2015-03-16 08:58:42 -04:00
Beman affdcac443 Rename float_test to floating_point_test. Old name was unclear. Might have incorrectly been read as "test of type float" instead of "test of floating point types". 2015-03-11 10:36:34 -04:00
Beman 09ae6c961f Rename BOOST_TEST_MEMCMP_EQ to BOOST_TEST_MEM_EQ. Add float_test to Jamfile. Add float_value_test() and double_value_test(). 2015-03-08 10:50:39 -04:00
Beman bb785ed8e0 UDT tests added. Passing on Windows, all local compilers. 2014-11-25 11:31:30 -05:00
Beman e9f6d2c37c Re-implement the endian types by inheriting from endian_buffer. 2014-11-15 21:04:19 -05:00
Beman d339470e6e Remove "explicit" from Endian type constructors. Rationale: Having to write "cntr.insert(big_int32_t(value))" instead of "cntr.insert(value)" gets old fast when you are writing application code and the use case arises more or less continuously. Additionally, the use of an endian type is an implementation detail that should not leak into the application code that needs to create values of the type. Furthermore, the ambiguities that caused the constructors to be made explicit no longer occur; they were eliminated when BOOST_MINIMAL_INTEGER_COVER_OPERATORS was introduced to removed a dependency on boost/operators.hpp. If an ambiguity does arise, it is easy to clear via a static_cast or a function-style cast. 2013-09-06 10:36:54 -04:00
Beman d7120e6fac Delete the original conversion.hpp.
Rename conversion2.hpp to converters.hpp.
Adjust infrastructure accordingly.
2013-03-18 20:12:41 -04:00
Beman c177062bf5 Delete some obsolete files, cleanup the Jamefile. 2013-03-18 19:38:25 -04:00