Commit Graph

764 Commits

Author SHA1 Message Date
Jürgen Hunold
6795c81995 classes with virtual function must have virtual destructors.
The warning is not "bogus" and not only gcc warns.
clang will warn too, but defines __GNUC__ for gcc compatibility.
msvc issues "warning C4265: 'boost::serialization::<foo>' :
class has virtual functions, but destructor is not virtual"
The msvc warning could be suppressed, but it is much cleaner to simply
make the destructors virtual as they are with gcc and clang.
2015-06-15 10:38:57 +02:00
Robert Ramey
bee3377881 Improved loading of collections
fixed problems with loading types with private constructors
diminished need for reset object address
2015-05-22 08:59:11 -07:00
Robert Ramey
f527700804 more compile time errors for mdvc 2015-05-09 18:17:33 -07:00
Robert Ramey
1fb23d124d correction to support visibility for MSVC 2015-05-09 08:24:46 -07:00
Robert Ramey
18992fb13d fixed warnin 2015-04-27 21:40:15 -07:00
Robert Ramey
794c19b2a5 remove comment no longer relevant 2015-04-27 17:14:36 -07:00
Robert Ramey
2e2fac9291 Revert "removed dead code from vector.hpp"
This reverts commit 423c6d8076.
2015-04-27 17:12:31 -07:00
Robert Ramey
423c6d8076 removed dead code from vector.hpp 2015-04-27 16:58:51 -07:00
Robert Ramey
b3a02cf2b1 eliminated dead code in vector.hp
changed spelling from constructable to constructible in test_z.cpp
2015-04-27 16:56:21 -07:00
Robert Ramey
e25f595656 changed to use custom implementation of is_default_constructible 2015-04-27 16:44:36 -07:00
Robert Ramey
4a80b0f089 passing vector test 2015-04-27 16:32:45 -07:00
Robert Ramey
751155614c fix visibility errors 2015-04-27 16:29:21 -07:00
Robert Ramey
d76884319c make constructor public rather than protected in order to address MSVC/32 13 quirk 2015-04-27 16:28:35 -07:00
Robert Ramey
ae41d09039 correct error in export macro for wide types 2015-04-25 08:09:31 -07:00
Robert Ramey
50d59842c2 fixed error in loading of non empty instances of vector.hp 2015-04-24 16:44:38 -07:00
Robert Ramey
2d898f7db8 replace std::min with (std::min) in order to avoid problems with compilers which use min macros 2015-04-24 15:28:46 -07:00
Robert Ramey
50ecbd1f28 Remove last of support for compilers which don't support function template ordering 2015-04-24 15:24:30 -07:00
Robert Ramey
0100558166 correction in shared_ptr_helper
permit pass values by const & to output interface
2015-04-24 15:12:22 -07:00
Robert Ramey
83c1373a4d fixed warning in clang smart_cast.hp 2015-04-24 13:49:56 -07:00
Robert Ramey
1f94b5276b minor adjustments to visibility 2015-04-24 13:28:24 -07:00
Robert Ramey
70206bf4ef Revert "enhancement to support gcc visibility."
This reverts commit 23b012ef66.
2015-04-24 13:12:10 -07:00
Robert Ramey
23b012ef66 enhancement to support gcc visibility.
These changes are meant to support gcc visibility on mingw platforms - which is basically gcc with windows attributes.
2015-04-22 22:02:56 -07:00
Robert Ramey
7565de4008 transitory changes attempting to resolve visibility for minnow 2015-04-22 09:32:58 -07:00
Robert Ramey
a32549c25f fixed problem with helper on polymorphic archives
added test_polymorphic_helper
2015-04-10 14:24:33 -07:00
Robert Ramey
0d9dd64a66 Marcel s changes to fix import/export on MSVC 2015-04-05 13:53:55 -07:00
Robert Ramey
38a69e729b Adjustments trying to get correct MSVC compilation for dll 2015-04-05 09:30:15 -07:00
Marcel Raad
e66f38a702 Fix DLL compilation on MSVC 2015-04-05 16:47:56 +02:00
Robert Ramey
49f34b5810 Trying to get archive exception to compile 2015-04-04 15:49:27 -07:00
Robert Ramey
831a6e26b4 minor changes to clean up some warnings and to try and get the library to build on MSVC compilers 2015-04-04 12:57:50 -07:00
Robert Ramey
aedbb5da8e tweak to address compilation error on MSVC 2015-04-03 08:26:29 -07:00
Robert Ramey
61b81fad46 many small adjustments to get visibility working correctly on GCC and Clang.
Tested pretty extensively in release/debug shared/linked.
I don't have MSVC on me - so I'll have to upload without testing this.
One pending issue is that test_utf8_codecvt fails.  I'm guessing that the copy in detail needs to be tweaked.
I'll get this fixed up separately.
2015-04-02 13:02:33 -07:00
Robert Ramey
e16e3ed0dc corrected visibility for MSVC compilers 2015-03-31 16:52:41 -07:00
Robert Ramey
c3fbfb3cad made adjustments to suppress bogus warnings with MSVC so we could see error messages in test matrix 2015-03-29 21:34:46 -07:00
Robert Ramey
434b7c3a6d make changes to see if I can get MSVC platforms to compile/link 2015-03-27 14:43:59 -07:00
Robert Ramey
94d2e495ca corrected pfto in polymorphic_?archive.hpp
fixed visibility for singleton
corrected error in test_utf8_codecvt
2015-03-24 18:02:06 -07:00
Robert Ramey
5a94e5e4eb removed pfto 2015-03-23 15:29:57 -07:00
Robert Ramey
5c7e17b715 removed support for borland compilers 2015-03-23 13:43:59 -07:00
Robert Ramey
7067bdb263 simplifing visibility/autolink 2015-03-23 13:20:05 -07:00
Robert Ramey
1baeb11a7f cleanup visibiliy / auto link macros throughout project - still more to be done 2015-03-23 12:46:02 -07:00
Robert Ramey
79e73a715c fix a couple of gcc warnings 2015-03-22 16:16:42 -07:00
Robert Ramey
e7a7ee8018 add BOOST_SYMBOL_VISIBLE to otherwise invisible classes and implement BOOST_NOEXCEPT where needed 2015-03-22 15:25:45 -07:00
Robert Ramey
4c0590737e simplified visibility 2015-03-21 18:38:41 -07:00
Robert Ramey
94dbfcfc4f first cut in fixing up visibility 2015-03-21 17:56:57 -07:00
akumta
768145d01d Update register_archive.hpp
Per boost ticket# 11004
2015-03-04 14:49:58 -08:00
Robert Ramey
aa18f80439 fix some minor header inclusion 2014-12-18 17:34:55 -08:00
Robert Ramey
a838b0821f tweaked tests to suppress some warning noise
fixed sequential lists to handle types without default constructors
adjusted CMakeLists.txt to correctly generate c++ selection for Xcode
2014-12-16 15:40:24 -08:00
Robert Ramey
df8dec38fc fixed check for default constructible in std containers serialization 2014-12-15 15:22:33 -08:00
Robert Ramey
aa6ca846a4 fixed collection loading to be backwards compatible. Unforunately this breaks the fix I intended to make. Need to update docs so that users specialize boost::has_default_constructor<T> for item type 2014-12-15 10:17:27 -08:00
Robert Ramey
523f9baca2 correct last minute error in collection simplification 2014-12-13 22:02:57 -08:00
Robert Ramey
3d8d73f0d0 fixes in attributes to permit Visual Studio compatibility 2014-12-13 14:12:34 -08:00