Make this warning more difficult to ignore
This commit is contained in:
parent
43909c1ffb
commit
5a7290ce6a
@ -1,6 +1,21 @@
|
|||||||
#ifndef common_H
|
#ifndef common_H
|
||||||
#define common_H 1
|
#define common_H 1
|
||||||
|
|
||||||
|
#if !defined(_MSC_VER) && 1
|
||||||
|
# warning *** This is unstable, untested, development code.
|
||||||
|
# warning It might not compile. It might not work as expected.
|
||||||
|
# warning It might be totally insecure.
|
||||||
|
# warning Do not use this in production.
|
||||||
|
# warning Use releases available at https://download.libsodium.org/libsodium/releases/ instead.
|
||||||
|
# warning Alternatively, use the "stable" branch in the git repository.
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(_MSC_VER) && (!defined(CONFIGURED) || CONFIGURED != 1)
|
||||||
|
# warning *** The library is being compiled using an undocumented method.
|
||||||
|
# warning This is not supported. It has not been tested, it might not
|
||||||
|
# warning work as expected, and performance is likely to be suboptimal.
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -21,21 +21,6 @@
|
|||||||
#include "private/implementations.h"
|
#include "private/implementations.h"
|
||||||
#include "private/mutex.h"
|
#include "private/mutex.h"
|
||||||
|
|
||||||
#if !defined(_MSC_VER) && 1
|
|
||||||
# warning *** This is unstable, untested, development code.
|
|
||||||
# warning It might not compile. It might not work as expected.
|
|
||||||
# warning It might be totally insecure.
|
|
||||||
# warning Do not use this in production.
|
|
||||||
# warning Use releases available at https://download.libsodium.org/libsodium/releases/ instead.
|
|
||||||
# warning Alternatively, use the "stable" branch in the git repository.
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(_MSC_VER) && (!defined(CONFIGURED) || CONFIGURED != 1)
|
|
||||||
# warning *** The library is being compiled using an undocumented method.
|
|
||||||
# warning This is not supported. It has not been tested, it might not
|
|
||||||
# warning work as expected, and performance is likely to be suboptimal.
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static volatile int initialized;
|
static volatile int initialized;
|
||||||
static volatile int locked;
|
static volatile int locked;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user