You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2020/04/03 16:40:00 UTC
[jira] [Created] (ARROW-8328) [C++] MSVC is not respecting
warning-disable flags
Ben Kietzman created ARROW-8328:
-----------------------------------
Summary: [C++] MSVC is not respecting warning-disable flags
Key: ARROW-8328
URL: https://issues.apache.org/jira/browse/ARROW-8328
Project: Apache Arrow
Issue Type: Bug
Components: C++
Affects Versions: 0.16.0
Reporter: Ben Kietzman
Assignee: Ben Kietzman
Fix For: 1.0.0
We provide [warning-disabling flags to MSVC|https://github.com/apache/arrow/blob/72433c6/cpp/cmake_modules/SetupCxxFlags.cmake#L151-L153] including one which should disable all conversion warnings. However this is not completely effectual and Appveyor will still emit conversion warnings (which are then treated as errors), requiring insertion of otherwise unnecessary explicit casts or {{#pragma}}s (for example https://github.com/apache/arrow/pull/6820 ).
Perhaps flag ordering is significant? In any case, as we have conversion warnings disabled for other compilers we should ensure they are completely disabled for MSVC as well.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)