Skip to content

Commit

Permalink
Disabled __attribute__((deprecated)) usage for LCC (#1790)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheQwertiest authored Jul 23, 2020
1 parent febffa4 commit 430f393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
# if FMT_HAS_CPP14_ATTRIBUTE(deprecated) || FMT_MSC_VER >= 1900
# define FMT_DEPRECATED [[deprecated]]
# else
# if defined(__GNUC__) || defined(__clang__)
# if (defined(__GNUC__) && !defined(__LCC__)) || defined(__clang__)
# define FMT_DEPRECATED __attribute__((deprecated))
# elif FMT_MSC_VER
# define FMT_DEPRECATED __declspec(deprecated)
Expand Down

0 comments on commit 430f393

Please sign in to comment.