You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2020/06/19 02:39:00 UTC

[jira] [Resolved] (ARROW-6848) [C++] Specify -std=c++11 instead of -std=gnu++11 when building

     [ https://issues.apache.org/jira/browse/ARROW-6848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kouhei Sutou resolved ARROW-6848.
---------------------------------
    Fix Version/s:     (was: 2.0.0)
                   1.0.0
       Resolution: Fixed

Issue resolved by pull request 7459
[https://github.com/apache/arrow/pull/7459]

> [C++] Specify -std=c++11 instead of -std=gnu++11 when building
> --------------------------------------------------------------
>
>                 Key: ARROW-6848
>                 URL: https://issues.apache.org/jira/browse/ARROW-6848
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Zhuo Peng
>            Assignee: Wes McKinney
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>          Time Spent: 5h 20m
>  Remaining Estimate: 0h
>
> Relevant discussion:
> [https://lists.apache.org/thread.html/5807e65d865c1736b3a7a32653ca8bb405d719eb13b8a10b6fe0e904@%3Cdev.arrow.apache.org%3E]
> in addition to
> set(CMAKE_CXX_STANDARD 11)
> , we also need to
> set(CMAKE_CXX_EXTENSIONS OFF)
> in order to turn off compiler-specific extensions (with GCC, it's -std=gnu++11)
>  
> This is supposed to be a no-op, because Arrow builds fine with other compilers (Clang-LLVM / MSCV). But opening this bug to track any issues with flipping the switch.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)