Skip to content

Commit

Permalink
specify deprecated attribute for Oracle Studio compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak authored Sep 18, 2024
1 parent 8ea29fc commit b674f1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/krml/internal/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ inline static int32_t krml_time(void) {
#elif defined(__GNUC__)
/* deprecated attribute is not defined in GCC < 4.5. */
# define KRML_DEPRECATED(x)
#elif defined(__SUNPRO_C)
# define KRML_DEPRECATED(x) __attribute__((deprecated(x)))
#elif defined(_MSC_VER)
# define KRML_DEPRECATED(x) __declspec(deprecated(x))
#endif
Expand Down

0 comments on commit b674f1f

Please sign in to comment.