mirror of
https://github.com/boostorg/container.git
synced 2025-08-03 06:24:26 +02:00
Fixes #186 ("Warnings out the wazoo")
This commit is contained in:
@@ -1341,6 +1341,7 @@ use [*Boost.Container]? There are several reasons for that:
|
||||
[section:release_notes_boost_1_78_00 Boost 1.78 Release]
|
||||
|
||||
* Fixed bugs/issues:
|
||||
* [@https://github.com/boostorg/container/issues/186 GitHub #186: ['"Warnings out the wazoo"]].
|
||||
* [@https://github.com/boostorg/container/issues/187 GitHub #187: ['"flat_map::erase and unique keys"]].
|
||||
* [@https://github.com/boostorg/container/issues/188 GitHub #188: ['"Build fails when RTTI is disabled"]].
|
||||
|
||||
|
@@ -35,7 +35,6 @@
|
||||
#ifdef __GNUC__
|
||||
#define FORCEINLINE inline
|
||||
#endif
|
||||
#include "dlmalloc_2_8_6.c"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (push)
|
||||
@@ -45,8 +44,13 @@
|
||||
#pragma warning (disable : 4702)
|
||||
#pragma warning (disable : 4390) /*empty controlled statement found; is this the intent?*/
|
||||
#pragma warning (disable : 4251 4231 4660) /*dll warnings*/
|
||||
#pragma warning (disable : 4057) /*differs in indirection to slightly different base types from*/
|
||||
#pragma warning (disable : 4702) /*unreachable code*/
|
||||
#pragma warning (disable : 4127) /*conditional expression is constant*/
|
||||
#endif
|
||||
|
||||
#include "dlmalloc_2_8_6.c"
|
||||
|
||||
#define DL_SIZE_IMPL(p) (chunksize(mem2chunk(p)) - overhead_for(mem2chunk(p)))
|
||||
|
||||
static size_t s_allocated_memory;
|
||||
|
Reference in New Issue
Block a user