Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msvc: drop checks for ancient versions #15946

Closed
wants to merge 1 commit into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Jan 9, 2025

  • drop version guard for __inline.
    Supported since _MSC_VER 1000.
    Visual C++, 32-bit, version 4.0 (1996)

  • drop version guard for __declspec(noreturn) and __forceinline.
    Supported since _MSC_VER 1200.
    Visual C++, 32-bit, version 6.0 (1998)

For ancient versions, it's possible to override the default behaviour
by setting these macros via CPPFLAGS: CURL_NORETURN, CURL_INLINE,
CURL_FORCEINLINE


Potential candidate:
_INTEGRAL_MAX_BITS: It's always 64 since _MSC_VER 1400,
(year 2005) possibly earlier, since 1300 (year 2002).
Though the oldest MSVC supported by curl build tools is 1200.
Also checks for version 900. Tackle this in another PR.

@vszakats vszakats added build Windows Windows-specific tidy-up labels Jan 9, 2025
@vszakats vszakats closed this in 8363dd5 Jan 9, 2025
@vszakats vszakats deleted the drop-old-msc-ver-checks branch January 9, 2025 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant