mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:04:12 +08:00
mdbx: update warnings/errors for old version GCC/CLANG/MSVC/GLIBC.
Change-Id: I355316f6c8d96eae4bd5d9743f0b6e50caddcbcd
This commit is contained in:
parent
1e3f633665
commit
92bc728f39
@ -65,6 +65,10 @@
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# if _MSC_FULL_VER < 190024234
|
||||
/* Actually libmdbx was not tested with compilers older than 19.00.24234 (Visual Studio 2015 Update 3).
|
||||
* But you could remove this #error and try to continue at your own risk.
|
||||
* In such case please don't rise up an issues related ONLY to old compilers.
|
||||
*/
|
||||
# error "At least \"Microsoft C/C++ Compiler\" version 19.00.24234 (Visual Studio 2015 Update 3) is required."
|
||||
# endif
|
||||
# ifndef _CRT_SECURE_NO_WARNINGS
|
||||
@ -101,8 +105,8 @@
|
||||
#include "defs.h"
|
||||
|
||||
#if defined(__GNUC__) && !__GNUC_PREREQ(4,2)
|
||||
/* Actually libmdbx was not tested with compilers older than GCC from RHEL6.
|
||||
* But you could remove this #error and try to continue at your own risk.
|
||||
/* Actually libmdbx was not tested with compilers older than GCC 4.2.
|
||||
* But you could ignore this warning at your own risk.
|
||||
* In such case please don't rise up an issues related ONLY to old compilers.
|
||||
*/
|
||||
# warning "libmdbx required GCC >= 4.2"
|
||||
@ -110,18 +114,18 @@
|
||||
|
||||
#if defined(__clang__) && !__CLANG_PREREQ(3,8)
|
||||
/* Actually libmdbx was not tested with CLANG older than 3.8.
|
||||
* But you could remove this #error and try to continue at your own risk.
|
||||
* But you could ignore this warning at your own risk.
|
||||
* In such case please don't rise up an issues related ONLY to old compilers.
|
||||
*/
|
||||
# warning "libmdbx required CLANG >= 3.8"
|
||||
#endif
|
||||
|
||||
#if defined(__GLIBC__) && !__GLIBC_PREREQ(2,12)
|
||||
/* Actually libmdbx was not tested with something older than glibc 2.12 (from RHEL6).
|
||||
* But you could remove this #error and try to continue at your own risk.
|
||||
/* Actually libmdbx was not tested with something older than glibc 2.12.
|
||||
* But you could ignore this warning at your own risk.
|
||||
* In such case please don't rise up an issues related ONLY to old systems.
|
||||
*/
|
||||
# warning "libmdbx required at least GLIBC 2.12."
|
||||
# warning "libmdbx was only tested with GLIBC >= 2.12."
|
||||
#endif
|
||||
|
||||
#ifdef __SANITIZE_THREAD__
|
||||
|
Loading…
x
Reference in New Issue
Block a user