Peter Dimov
9f1fc77d46
Add CMakeLists.txt
2021-03-18 18:41:25 +02:00
Robert Ramey
fa6b395b54
still making corrections to floating point tests
2021-03-11 18:36:48 -08:00
Robert Ramey
63cf849d7f
still making corrections to floating point tests
2021-03-11 15:20:21 -08:00
Robert Ramey
520cf46d31
still making corrections to floating point tests
2021-03-11 11:52:22 -08:00
Robert Ramey
1839f7b37e
still making corrections to floating point tests
2021-03-10 15:35:22 -08:00
Robert Ramey
47119842b7
correct test correction for floating point numbers
2021-03-10 13:43:01 -08:00
Robert Ramey
35ccd63f56
in the previous update, a couple of #pragmas were not properly suppressed for specific compilers. This fixes this so number of warnings under gcc is now a reasonable number.
2021-03-10 11:43:03 -08:00
Robert Ramey
781dd9f0f2
some tests use math/special functions to compare floating point numbers used generated by test results. math/special functions recently changed so now it requires C++11 or above. That is, usage under C++03 and less is deprecated. In order to continue to support the serialization library in C++03 and later I had to make some changes. After looking at the alternatives, I decide just to suppress some tests related to floating point numbers. Overall, even though it skips over some tests for C++03 platforms, it was the easiest to implement. C++03 is not widely used these days so it wasn’t worth the effort to replace reliance on math/special functions.
2021-03-10 11:41:15 -08:00
Robert Ramey
7c2229df8c
added flush to a couple of tests which use stringstream
2021-03-09 10:32:16 -08:00
Robert Ramey
cd7f64e0d7
Guard MSVC pragmas from clang-cl #230 - once more with feeling.
2021-03-02 08:40:01 -08:00
Robert Ramey
4b851994d6
Guard MSVC pragmas from clang-cl #230
2021-03-01 16:10:04 -08:00
Sam Darwin
9b9e21625f
add drone config [ci skip] ( #225 )
2021-01-22 11:42:54 -08:00
Edward Diener
aba637361a
[skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. ( #227 )
2021-01-21 10:45:10 -08:00
Marian Klymov
b7e454f52f
Add missing #pragma warning (pop) ( #218 )
2021-01-20 10:42:03 -08:00
Giovanni Mascellani
e4727d0c23
Fix typo in copyright headers. ( #223 )
2021-01-20 10:41:17 -08:00
NamaNamazu
886080ef55
Fix typo in include guard. ( #226 )
2021-01-20 10:39:41 -08:00
nevilad
11ab51f97c
Correct build errors when building serialization with ( #224 )
...
BOOST_NO_STD_LOCALE defined
Signed-off-by: Alexey Romko <nevilad@yahoo.com >
2021-01-19 13:13:50 -08:00
Robert Ramey
e7e5978a54
corrected over zealous trimming of hash_map include files
...
bumped archive version # just in case I broke something
cleaned up test set hashed and test map hashed.
2021-01-01 14:00:37 -08:00
Robert Ramey
c5d199837b
minor adjustments to config files in the hopes of passing all git hub actions tests.
2020-12-23 11:27:58 -08:00
Robert Ramey
ddf65a2666
made adjustments to hash set and map testing with the aim of correctly handling elimination of BOOST_HASH …
2020-12-21 19:00:33 -08:00
Robert Ramey
6296d56682
Add support for continuous integration testing via git hub actions.
2020-12-16 09:43:48 -08:00
Robert Ramey
447445837f
remove erroneous added files
2020-11-20 12:08:36 -08:00
Robert Ramey
8899617fba
mixup some pragmas to suppress warnings
2020-11-08 15:16:35 -08:00
Robert Ramey
07c99b8649
removed unused file collection_size_type copy.hpp
...
I have no idea where this came from!
2020-09-30 21:52:04 -07:00
Robert Ramey
6dc1b1be94
Removed obsolete comment describing the workaround for compilers which fail to properly support Partial Template Function Ordering
2020-09-27 10:52:59 -07:00
Robert Ramey
f72b9fc8d9
included library_version.hpp in all appropriate places.
...
This should permit any header to be compiled without including any other headers.
2020-09-26 22:55:18 -07:00
Robert Ramey
1eb86f8c41
loose end from effort to separate serialization from archive.
2020-09-08 11:00:55 -07:00
Vassil Vassilev
e94aebed7a
Add missing include ( #211 )
...
This patch allows the header to be built standalone, as part of clang C++ modules builds.
2020-07-17 12:02:44 -07:00
Vassil Vassilev
bd2b756986
Add missing include ( #212 )
...
This patch allows the header to be built standalone, as part of clang C++ modules builds.
2020-07-17 12:02:18 -07:00
Robert Ramey
8acf32935b
clean up by removing unused headers
...
add version.hpp which might be needed
2020-07-15 15:58:11 -07:00
Robert Ramey
812ef99dea
changes made in the hope of eliminated “stable” error for functions previously defined in the header. Moved those function to codecvt_null.cpp
2020-07-10 11:24:31 -07:00
Robert Ramey
cfed656eb0
removed some in appropriate files
...
made adjustments regarding visibility macros in the hope of pacifying MSVC compilers
2020-06-29 13:40:09 -07:00
Robert Ramey
4dd4895246
remove erroneous added library status html file
2020-06-26 19:07:01 -07:00
Robert Ramey
676722671e
create alias in namespace boost::archive to support older user code. new location is in boost::serialization.
2020-06-26 17:30:44 -07:00
Robert Ramey
b672e87f9d
use boost/uint_least16 rather than the standard one. A previous “fix” fixed this, so now I’m fixing it back. Coincidently, looks like the serialization library is backward compatible to C++98
2020-06-26 14:20:06 -07:00
Robert Ramey
4fb556f9c4
merged in refactoring designed to diminish dependencies
2020-06-25 09:18:38 -07:00
Hans Dembinski
f4c6d58bb5
fix compile error ( #208 )
2020-06-24 10:32:33 -07:00
Robert Ramey
6af3783a2c
remove unused headers
2020-06-19 15:53:59 -07:00
Robert Ramey
c7761f2335
improvements in serialization library
...
a) fixed up CMake Build so it does everything the B2 Build does. They give the same results.
b) made adjustments so that any code which depends upon serialization depends only upon files in the serialization folder/namespace. This should permit one to add serialization to his library without ending up importing the whole damn world.
2020-06-19 00:04:31 -07:00
Andrey Semashev
4dc4ba018c
Update no_exceptions_support.hpp header location to avoid deprecated warnings. ( #204 )
...
boost/detail/no_exceptions_support.hpp is deprecated and will be removed in a
future release.
2020-06-08 16:47:29 -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