apache / apache/arrow

[C++] Invalid MSVC flag causes nuisance C++ build warnings

Open
#50,527 0 comments 0 reactions 1 assignee Claimed by @loctormor View on GitHub
Component: C++ Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the bug, including details regarding any error messages, version, and platform.

A cmake file configuring CXX flags currently sets "/arch:SSE4.2" for MSVC x86 builds. This is invalid syntax, causing hundreds of warnings from the compiler. Tested with cl.exe from Visual Studio 18.
https://learn.microsoft.com/en-us/cpp/build/reference/arch-x86

### Component(s)

C++

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.