Skip to content

Commit

Permalink
fix: __declspec(deprecated) is broken in Pelles-C 10
Browse files Browse the repository at this point in the history
  • Loading branch information
nemequ committed Sep 13, 2024
1 parent ede7975 commit e6e279c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# https://community.chocolatey.org/packages/pelles-c#versionhistory
- "12.0.2"
- "11.0.2"
# - "10.0.6"
- "10.0.6"
- "9.00.0.0"
# - "8.00.0.0" ## Installation times out.
steps:
Expand Down
8 changes: 7 additions & 1 deletion hedley.h
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,13 @@
# define HEDLEY_DEPRECATED_FOR(since, replacement) __attribute__((__deprecated__))
#elif \
HEDLEY_MSVC_VERSION_CHECK(13,10,0) || \
HEDLEY_PELLES_VERSION_CHECK(6,50,0) || \
( \
HEDLEY_PELLES_VERSION_CHECK(6,50,0) && \
!( \
HEDLEY_PELLES_VERSION_CHECK(9,0,0) && \
!HEDLEY_PELLES_VERSION_CHECK(11,0,0) \
) \
) || \
HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
# define HEDLEY_DEPRECATED(since) __declspec(deprecated)
# define HEDLEY_DEPRECATED_FOR(since, replacement) __declspec(deprecated)
Expand Down

0 comments on commit e6e279c

Please sign in to comment.