Commit Graph

161 Commits

Author SHA1 Message Date
Peter Dimov 15e6923325 Update buffer_test 2019-04-27 22:00:01 +03:00
Peter Dimov f77a318c37 Remove BOOST_ENDIAN_LOG 2019-04-27 19:28:49 +03:00
Peter Dimov 6047813081 Add endian_store_test 2019-04-27 18:03:43 +03:00
Peter Dimov c42fcb09bc endian_load_test: Remove unnecessary #pragma warning 2019-04-27 17:37:02 +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 a2025a9320 Refactor endian_reverse into its own header, make it work for long and long long 2019-04-26 20:24:27 +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 146c1af963 Merge branch 'develop' into feature/endian-load-store 2019-03-20 17:30:05 +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 6a84756afb Disable long long tests; disable C4309 on msvc 2019-03-19 00:40:01 +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 5623e48fb5 Comment out MyInt test, because MyInt is not TriviallyCopyable under C++03 2019-03-13 01:45:16 +02:00
Peter Dimov a564b97dab Avoid unreachable code warning in endian_in_union_test 2019-02-19 02:43:07 +02:00
Peter Dimov e5a1b739c2 Update Jamfile handling of warnings 2019-02-19 01:50:23 +02:00
Peter Dimov e08864d648 Fix msvc warnings 2019-02-19 01:13:31 +02:00
Peter Dimov e6266a7a60 Move <warnings-as-errors>on to default-build 2019-02-19 01:05:40 +02:00
Peter Dimov 28615311d9 Use boost_add_subdir 2019-01-07 00:14:49 +02:00
Peter Dimov 2b91e9e911 Merge branch 'feature/quick-test' into feature/min-cmake 2019-01-06 20:33:00 +02:00
Peter Dimov 533c82fa92 Add test/quick.cpp 2019-01-06 20:32:19 +02:00
Peter Dimov ebb282fbe0 Add CMakeLists.txt, test/cmake_subdir_test 2019-01-06 20:23:43 +02:00
Peter Dimov 1b589e28d0 Add check_udt_le() to endian_test.cpp; make MyInt default-constructible 2018-12-06 20:33:42 +02:00
Peter Dimov de4aadcb11 Use temporary variables to hold the result of BOOST_ENDIAN_INTRINSIC_* 2018-12-06 18:48:43 +02:00
Peter Dimov 84273c7139 Add BOOST_ENDIAN_NO_INTRINSICS tests to test/Jamfile 2018-12-06 18:02:52 +02:00
Peter Dimov 9cbd708ce5 Rename uint*_t types to avoid conflict 2018-12-06 18:02:23 +02:00
Peter Dimov 59126b39ae Add intrinsic_test.cpp to test/Jamfile 2018-12-06 17:51:38 +02:00
Peter Dimov 07ec535600 boost/predef/detail/endian_compat.h is deprecated; switch to boost/predef/other/endian.h 2018-09-11 18:54:54 +03:00
Peter Dimov 62802fee96 Add unaligned test 2017-12-23 17:22:35 +02:00
Peter Dimov 10877d3667 Remove one more integer overflow 2017-12-23 04:47:54 +02:00
Peter Dimov d4738d8598 Avoid undefined behavior due to signed integer overflow 2017-12-23 00:04:34 +02:00
Peter Dimov 0d5adab378 Refactor boundary values tests 2017-12-22 16:35:21 +02:00
Peter Dimov 4648d237f0 Merge branch 'add-test-for-boundary-values' of https://github.com/arvidn/endian into develop 2017-12-22 16:28:00 +02:00
arvidn 674adbd592 add test to expose undefined behaviors endian_buffer when used with signed integers 2017-12-22 00:00:16 +01:00
Peter Dimov 34542134be Merge pull request #23 from arvidn/remove-trailing-whitespace
[cleanup] remove trailing whitespace from source code files
2017-12-21 17:42:03 +02:00
Peter Dimov b647051422 Add a construction/assignment/value test for buffer types 2017-12-21 03:32:38 +02:00
arvidn 4b4123a0fa [cleanup] remove trailing whitespace from source code files 2017-11-04 13:07:54 +01:00
Beman 739bc40bfc Update tools version 2017-10-15 10:02:13 -04:00
Ben Wiederhake b51593c766 Fix typos in documentation/comments
Credits go to the authors of codespell.
2016-04-03 19:13:04 +02:00
Beman 1b0a41e6cb Add Clang/c2 solution with conversion_test_clang project. Clang/c2 uses the Microsoft rather than GCC intrinsics, so check for defined(_MSC_VER) before defined(__clang__) 2015-12-11 08:15:25 -05:00
Beman cd57e01f9c The boost::uint64_t fix for old msvc compilers is also needed for buffer_test.cpp 2015-03-30 07:15:15 -04:00
Beman fdc8965842 Some older Microsoft libraries did not have uint64_t, so use boost/cstdint.hpp for it. 2015-03-26 11:03:39 -04: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 a15f9420cb Add fp_exhaustive_test. 2015-03-20 08:59:47 -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 44542694e3 Add round trip test to auto test. Remove tests made redundant by auto test. 2015-03-14 09:45:50 -04:00
Beman cea2be8023 Add auto_test cases lowest(), epsilon(), 0.0, -0.0, 1.0, -1.0 2015-03-14 09:01:55 -04:00