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

[C++] AdaptiveIntBuilder compiler warning on MSVC #16797

Closed
asfimport opened this issue Jun 25, 2017 · 2 comments
Closed

[C++] AdaptiveIntBuilder compiler warning on MSVC #16797

asfimport opened this issue Jun 25, 2017 · 2 comments
Assignees
Milestone

Comments

@asfimport
Copy link
Collaborator

See build https://ci.appveyor.com/project/ApacheSoftwareFoundation/parquet-cpp/build/1.0.166/job/6tlq1nxvcwe02dxk

    array.cc
    buffer.cc
    builder.cc
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\algorithm(959): error C2220: warning treated as error - no 'object' file generated [C:\projects\parquet-cpp\build\arrow_ep-prefix\src\arrow_ep-build\arrow_objlib.vcxproj] [C:\projects\parquet-cpp\build\arrow_ep.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\algorithm(959): warning C4996: 'std::transform::_Unchecked_iterators::_Deprecate': Call to 'std::transform' with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators' [C:\projects\parquet-cpp\build\arrow_ep-prefix\src\arrow_ep-build\arrow_objlib.vcxproj] [C:\projects\parquet-cpp\build\arrow_ep.vcxproj]
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\algorithm(959): note: see declaration of 'std::transform::_Unchecked_iterators::_Deprecate'
    C:\projects\parquet-cpp\build\arrow_ep-prefix\src\arrow_ep\cpp\src\arrow\builder.cc(347): note: see reference to function template instantiation '_OutIt *std::transform<const int64_t*,int8_t*,arrow::AdaptiveIntBuilder::Append::<lambda_81eb08b2ba1ad73602f9436bd880d934>>(_InIt,_InIt,_OutIt,_Fn1)' being compiled
            with
            [
                _OutIt=int8_t *,
                _InIt=const int64_t *,
                _Fn1=arrow::AdaptiveIntBuilder::Append::<lambda_81eb08b2ba1ad73602f9436bd880d934>
            ]

Reporter: Wes McKinney / @wesm
Assignee: Uwe Korn / @xhochy

Note: This issue was originally created as ARROW-1150. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Uwe Korn / @xhochy:
PR: #834

@asfimport
Copy link
Collaborator Author

Wes McKinney / @wesm:
Issue resolved by pull request 834
#834

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants