Fix GitHub #77 ("warning: 'sbrk' is deprecated")

This commit is contained in:
Ion Gaztañaga
2018-11-11 01:38:27 +01:00
parent 2bc6f4d1a0
commit e94c779b56
2 changed files with 3 additions and 0 deletions

View File

@@ -1252,6 +1252,7 @@ use [*Boost.Container]? There are several reasons for that:
* Fixed serious bug in heterogeneous lookup functions (is_transparent was broken).
* Fixed bugs:
* [@https://github.com/boostorg/container/issues/77 GitHub #77: ['"warning: 'sbrk' is deprecated"]].
* [@https://github.com/boostorg/container/issues/79 GitHub #79: ['"Mark small_vector move operations noexcept"]].
* [@https://github.com/boostorg/container/issues/82 GitHub #82: ['"Function definition in header file"]].
* [@https://github.com/boostorg/container/issues/83 GitHub #83: ['"Iterator zero incrementing leads to assert on empty vector"]].

View File

@@ -19,6 +19,8 @@
#define MSPACES 1
#define NO_MALLINFO 1
#define NO_MALLOC_STATS 1
//disable sbrk as it's deprecated in some systems and weakens ASLR
#define HAVE_MORECORE 0
#if !defined(NDEBUG)