Skip to content

Commit

Permalink
enable DECLARE_DEPRECATED macro for Oracle Developer Studio compiler
Browse files Browse the repository at this point in the history
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from #9575)
  • Loading branch information
vladak authored and t8m committed Jun 4, 2020
1 parent e6a80cb commit 8354f53
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Changes between 1.1.1g and 1.1.1h [xx XXX xxxx]

*)
*) The Oracle Developer Studio compiler will start reporting deprecated APIs

Changes between 1.1.1f and 1.1.1g [21 Apr 2020]

Expand Down
5 changes: 5 additions & 0 deletions include/openssl/opensslconf.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ extern "C" {
# undef DECLARE_DEPRECATED
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
# endif
# elif defined(__SUNPRO_C)
# if (__SUNPRO_C >= 0x5130)
# undef DECLARE_DEPRECATED
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
# endif
# endif
#endif

Expand Down

0 comments on commit 8354f53

Please sign in to comment.