Commit Graph

1828 Commits

Author SHA1 Message Date
Peter Dimov
0ca603daf9 Do not define BOOST_SERIALIZATION_SOURCE in CMakeLists.txt boost-1.83.0.beta1 boost-1.83.0 boost-1.82.0.beta1 boost-1.82.0 boost-1.81.0.beta1 boost-1.81.0 boost-1.80.0.beta1 boost-1.80.0 boost-1.79.0.beta1 boost-1.79.0 boost-1.78.0.beta1 boost-1.78.0 boost-1.77.0.beta1 boost-1.77.0 2021-06-09 19:01:03 +03:00
Peter Dimov
b42c138206 Only install under CMake 3.13 or later, otherwise dependencies have no install support 2021-05-29 01:06:18 +03:00
Peter Dimov
f13c963569 Fix boost_install call to install both targets 2021-05-29 01:06:05 +03:00
Peter Dimov
ff6cc13040 Add CMakeLists.txt 2021-05-29 01:05:48 +03:00
Robert Ramey
bcc0bfe073 squash merge all changes in develop into master 2021-05-02 18:31:57 -07:00
Robert Ramey
3ab4da85f2 squash merge into next boost release boost-1.76.0.beta1 boost-1.76.0 2021-02-22 16:33:33 -08:00
Robert Ramey
07de314975 merge into next boost release boost-1.75.0 2020-11-17 22:18:38 -08:00
Robert Ramey
ed44fcd268 changes made in the hope of eliminated “stable” error for functions previously defined in the header. Moved those function to codecvt_null.cpp boost-1.75.0.beta1 boost-1.74.0.beta1 boost-1.74.0 2020-07-11 12:02:39 -07:00
Robert Ramey
17fb465af1 Squash-merge develop 2020-07-03 17:11:10 -07:00
EugeneZelenko
753c157497 Use BOOST_OVERRIDE to fix GCC -Wsuggest-override and Clang-tidy modernize-use-override warnings. (#200)
Fix Clang -Wextra-semi and Clang-tidy modernize-redundant-void-arg and readability-redundant-control-flow warnings.
Also fix some misspellings in comments.
2020-05-30 12:37:53 -07:00
Edward Diener
0eec916ab2 Changes for Embarcadero C++ clang-based compilers, targeting Boost 1.74 (#198)
* Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers.

* More changes of __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers.

* Embarcadero C++ clang-based compilers use chdir instead of _chdir on Windows. This was reported to them as a bug.

* Revert "Embarcadero C++ clang-based compilers use chdir instead of _chdir on Windows. This was reported to them as a bug."

This reverts commit d00a21f736.

* Put back the chdir definition change to exclude Embarcadero clang-based compilers.
2020-04-21 21:37:34 -07:00
Robert Ramey
88094d44b6 Merge pull request #191 from joaquintides/patch-1
avoided misleading indentation warning
boost-1.73.0.beta1 boost-1.73.0
2020-03-03 20:16:59 -08:00
joaquintides
53047f6356 updated to option 1) as requested by Robert 2020-03-03 13:21:46 +01:00
joaquintides
7e0708ea5d avoided misleading indentation warning
Clang 10.0 says:

`../boost/archive/basic_text_oprimitive.hpp:169:13: warning: misleading indentation;
statement is not part of the previous 'if' [-Wmisleading-indentation]`

(see https://www.boost.org/development/tests/develop/output/teeks99-dkr-dc10-2a-multi_index-clang-linux-10~c++2a-warnings.html#test_serialization)
2020-02-24 09:28:20 +01:00
Robert Ramey
d0509483ed fixing template parameter in boost unordered map
bumping archive library version.
2020-01-21 14:14:05 -08:00
Robert Ramey
d95a1df37a moved archive init call to most derived archive class so that we avoid down casting while in a ctor . The previous behavior was undefined behavior and emits errors when the address sanitizer is enabled. 2020-01-15 23:20:07 -08:00
Robert Ramey
eac306d8a6 fixing template parameters for hash_map - used for older compilers. 2020-01-15 15:16:36 -08:00
Robert Ramey
998e6c3d59 corrected template parameter passing for hashed/unordered collections. 2020-01-15 13:18:44 -08:00
Robert Ramey
b22ffc63da Fixed some MACRO constants to be consistent with Boost Guidelines. 2019-12-16 06:43:53 -08:00
Robert Ramey
489eef0e17 Merge pull request #184 from kanje/develop
Fix base class offset calculation in void_cast.hpp.
2019-12-12 08:51:43 -08:00
Antons Jeļkins
443dea34ab Fix base class offset calculation in void_cast.hpp.
The current approach generates warnings with ASAN and UBSAN as it features
a magic address which does not hold an object. This change addresses this
issue. The new code produces the same assembly and does not cause any
warnings.

Example:

==72613==ERROR: AddressSanitizer: SEGV on unknown address 0x0000000ffff8
               (pc 0x0000004012d9 bp 0x7ffd5b3eecf0 sp 0x7ffd5b3eece0 T0)
2019-12-10 14:02:05 +01:00
Robert Ramey
76df6df23f Merge branch 'develop' of https://github.com/boostorg/serialization into develop 2019-10-20 14:10:14 -07:00
Robert Ramey
643cce2a9c new test - needs refinement - for pointer adjustment by reset object address 2019-10-20 14:10:04 -07:00
Robert Ramey
098019d074 fixed subtle bug in reset_object_address. Turns out that the address anything loaded as a pointer should not be altered. 2019-10-20 14:08:13 -07:00
Robert Ramey
ece3187e24 Merge pull request #181 from HDembinski/strip_trailing_ws
stripping white space
2019-10-20 14:05:54 -07:00
Hans Dembinski
c813db7ad7 stripping white space 2019-10-20 22:49:29 +02:00
Robert Ramey
f04a8cbe90 shortened name of test in the hopes it fix a test failure one windows with gcc - minnow
removed last references to pfto in documentation
boost-1.72.0.beta1 boost-1.72.0
2019-10-11 16:07:10 -07:00
Robert Ramey
0f0409a2ad corrections to last updates.
nvp and make_nvp now back in serialization namespace
corrected removal of array wrapper from array types.
2019-10-05 11:14:56 -07:00
Robert Ramey
6bd667a5bb Merge pull request #172 from TaWeiTu/develop
"reference binding to null pointer" results in an undefined behaviour
2019-09-29 07:53:23 -07:00
Robert Ramey
5dd938f4f1 Merge pull request #173 from glenfe/develop
Use boost::nvp from Boost.Core
2019-09-27 21:37:22 -07:00
Glen Fernandes
4ed898b1d3 Use boost::nvp from Boost.Core 2019-09-27 23:07:06 -04:00
Robert Ramey
7300ff02b9 overlooked files from last commit 2019-09-27 18:19:26 -07:00
Robert Ramey
fd8186018b moved nvp into boost core in the hope of curtailing the dependency chain for boost libraries which declare serialization but don’t invoke it. 2019-09-27 15:37:42 -07:00
Robert Ramey
c32a663c99 Initial cut on moving declaration/definition of nvp to boost core. 2019-09-15 15:21:55 -07:00
TaWeiTu
48f0844fda reference binding to null pointer is an undefined behaviour 2019-09-02 05:58:06 +08:00
Robert Ramey
84e9ab57a7 Merge pull request #151 from HDembinski/fix_warning
fix for warning regarding use of strerror
2019-03-20 08:17:23 -07:00
Hans Dembinski
0034b070bd fix for warning regarding use of strerror 2019-03-20 08:42:59 +01:00
Robert Ramey
1b11637b1c Merge pull request #146 from MarcelRaad/extra_semi
Fix -Wextra-semi clang warning
2019-03-14 10:19:00 -07:00
Robert Ramey
7d79dc7146 last minute fixes requested by users. Mostly to avoid warnings 2019-03-02 09:39:18 -08:00
Marcel Raad
8d4b2136d2 Fix -Wextra-semi clang warning
Remove superfluous semicolon.
2019-02-25 11:52:18 +01:00
Robert Ramey
7adafcbf01 final? fix for dll tests. Due to quirk in boost build, we can run these tests with static versions of boost. 2018-12-27 09:51:33 -08:00
Robert Ramey
669d266ec7 complete corrections for import/export/visitbility 2018-12-26 13:49:33 -08:00
Robert Ramey
361ed95f4c suppress static library tests for test_dll_exported. B2 generated invalid command line in this case. 2018-12-26 11:40:20 -08:00
Robert Ramey
b6d26f9a58 Merge branch 'develop' of https://github.com/boostorg/serialization into develop 2018-12-24 11:19:24 -08:00
Robert Ramey
cd8a989be4 update Appveyor files 2018-12-24 11:18:54 -08:00
Robert Ramey
ee50f8c911 adjustments to fix “exported” tests. 2018-12-24 08:52:50 -08:00
Robert Ramey
d526c0f80e Merge pull request #125 from Kojoley/use-endian-macros-from-predef
Use endian macros from Predef
2018-12-20 08:58:20 -08:00
Robert Ramey
a61f5d2563 clean up tests using export/import 2018-12-19 14:40:55 -08:00
Robert Ramey
03c6d23ce8 changes to support more correct import/export for DLL based tests 2018-12-18 13:05:25 -08:00
Robert Ramey
9c770604dc Merge pull request #140 from Lastique/use_uncaught_exceptions
Use uncaught_exceptions from Boost.Core to avoid C++17 warnings
2018-12-17 18:08:52 -08:00