-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[C++][Gandiva] MSVC_VERSION not handled correctly #36594
Comments
kou
added a commit
to kou/arrow
that referenced
this issue
Jul 10, 2023
kou
added a commit
to kou/arrow
that referenced
this issue
Aug 11, 2023
kou
added a commit
to kou/arrow
that referenced
this issue
Oct 11, 2023
kou
added a commit
that referenced
this issue
Oct 19, 2023
…-version (#36595) ### Rationale for this change `MSVC_VERSION` isn't used correctly. ### What changes are included in this PR? * Remove MSVC 2013 or earlier check because it reached EOL * Don't change `-fms-compatibility-version` depending on `MSVC_VERSION` * Always use the lowest supported Visual Studio version for it ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: #36594 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
JerAguilon
pushed a commit
to JerAguilon/arrow
that referenced
this issue
Oct 23, 2023
…bility-version (apache#36595) ### Rationale for this change `MSVC_VERSION` isn't used correctly. ### What changes are included in this PR? * Remove MSVC 2013 or earlier check because it reached EOL * Don't change `-fms-compatibility-version` depending on `MSVC_VERSION` * Always use the lowest supported Visual Studio version for it ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: apache#36594 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
loicalleyne
pushed a commit
to loicalleyne/arrow
that referenced
this issue
Nov 13, 2023
…bility-version (apache#36595) ### Rationale for this change `MSVC_VERSION` isn't used correctly. ### What changes are included in this PR? * Remove MSVC 2013 or earlier check because it reached EOL * Don't change `-fms-compatibility-version` depending on `MSVC_VERSION` * Always use the lowest supported Visual Studio version for it ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: apache#36594 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
dgreiss
pushed a commit
to dgreiss/arrow
that referenced
this issue
Feb 19, 2024
…bility-version (apache#36595) ### Rationale for this change `MSVC_VERSION` isn't used correctly. ### What changes are included in this PR? * Remove MSVC 2013 or earlier check because it reached EOL * Don't change `-fms-compatibility-version` depending on `MSVC_VERSION` * Always use the lowest supported Visual Studio version for it ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: apache#36594 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug, including details regarding any error messages, version, and platform.
The following logic is deficient:
arrow/cpp/src/gandiva/precompiled/CMakeLists.txt
Lines 33 to 47 in 05620b1
It will never reach the
elseif
or theelse
(as it just decides between <1930, yes or no), and will pass an emptyFMS_COMPATIBILITY
for VS2022.Also worth noting, elsewhere
MSVC_VERSION
uses 19, and not 19xx. This is also wrong according to the CMake docs.Component(s)
C++ - Gandiva
The text was updated successfully, but these errors were encountered: