mirror of
https://github.com/openssl/openssl.git
synced 2025-01-06 17:24:03 +08:00
Get rid of bogus warning when compiling with Sun vendor compiler.
This commit is contained in:
parent
a5e8bcfb7b
commit
7f24b1c3e9
@ -84,6 +84,10 @@
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#elif defined(__SUNPRO_C)
|
||||
# if __SUNPRO_C >= 0x520
|
||||
# pragma error_messages (off,E_ARRAY_OF_INCOMPLETE_NONAME,E_ARRAY_OF_INCOMPLETE)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
@ -501,5 +505,9 @@ void ERR_load_EC_strings(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#elif defined(__SUNPRO_C)
|
||||
# if __SUNPRO_C >= 0x520
|
||||
# pragma error_messages (default,E_ARRAY_OF_INCOMPLETE_NONAME,E_ARRAY_OF_INCOMPLETE)
|
||||
# endif
|
||||
#endif
|
||||
#endif
|
||||
|
@ -75,6 +75,11 @@
|
||||
#include <openssl/obj_mac.h>
|
||||
#include <openssl/ec.h>
|
||||
|
||||
#if defined(__SUNPRO_C)
|
||||
# if __SUNPRO_C >= 0x520
|
||||
# pragma error_messages (off,E_ARRAY_OF_INCOMPLETE_NONAME,E_ARRAY_OF_INCOMPLETE)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Structure details are not part of the exported interface,
|
||||
* so all this may change in future versions. */
|
||||
|
Loading…
Reference in New Issue
Block a user