Skip to content

Commit

Permalink
Get rid of bogus warning when compiling with Sun vendor compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Polyakov committed Jan 24, 2004
1 parent a5e8bcf commit 7f24b1c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions crypto/ec/ec.h
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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
5 changes: 5 additions & 0 deletions crypto/ec/ec_lcl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 7f24b1c

Please sign in to comment.