diff options
author | Andy Polyakov <appro@openssl.org> | 2004-01-24 16:31:21 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2004-01-24 16:31:21 +0000 |
commit | 7f24b1c3e9c61b7bab6a2365e9988d536092fb4b (patch) | |
tree | 8fc10b1376c594430906676fff37b4e8d915f626 /crypto/ec/ec.h | |
parent | a5e8bcfb7b276aa259a991f05d8f9860b904171e (diff) | |
download | openssl-7f24b1c3e9c61b7bab6a2365e9988d536092fb4b.tar.gz |
Get rid of bogus warning when compiling with Sun vendor compiler.
Diffstat (limited to 'crypto/ec/ec.h')
-rw-r--r-- | crypto/ec/ec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/ec/ec.h b/crypto/ec/ec.h index 8f4d4e1818..db15a81938 100644 --- a/crypto/ec/ec.h +++ b/crypto/ec/ec.h @@ -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 |