Zhuo Peng created ARROW-6848:
--------------------------------

             Summary: [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
            Reporter: Zhuo Peng


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)

Reply via email to