-
Notifications
You must be signed in to change notification settings - Fork 584
_MSC_VER is now always >= 1800 (Visual C++ 2013 / Visual C++ 12.0) #19226
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
Conversation
In testing this, I stumbled across #18783, which we probably ought to resolve one way or another too. FWIW, I'm fine with dropping support for the mingw.org compilers. |
One thing I notice is that the removal of |
Good spot. I will rework this section a little bit and update the PR. We're inside a section marked "#if (!defined(_MSC_VER)) || (defined(_MSC_VER) && _MSC_VER < 1900)", which now basically means "if gcc or _MSC_VER==1800". So WIN32_DYN_IOINFO_SIZE is only defined for _MSC_VER 1800 and the "#ifndef WIN32_DYN_IOINFO_SIZE" block only applies to gcc now so the part that was for _MSC_VER >= 1500 can be removed. |
#if defined(_MSC_VER) && _MSC_VER < 1400 | ||
/* XXX older MSVC versions have a smallish macro buffer */ | ||
# define PERL_SMALL_MACRO_BUFFER | ||
#endif | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be possible to eliminate all PERL_SMALL_MACRO_BUFFER references, since the macro was added to support older MSVC and it isn't defined anywhere else.
@khw might have an opinion here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I oppose removal of this at this time. I think we may find it useful
xenu left his approval, so I'm merging |
No description provided.