Skip to content

Commit 1233f3c

Browse files
pitroukou
authored andcommitted
ARROW-17545: [C++][CI] Mandate C++17 instead of C++11 (apache#13991)
This PR switches our build system to require C++17 instead of C++11. Because the conda packaging jobs are out of sync with the conda-forge files, the Windows conda packaging jobs are broken with this change. The related task (sync conda packaging files with conda-forge) is tracked in ARROW-17635. Authored-by: Antoine Pitrou <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
1 parent 04cc533 commit 1233f3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ message(STATUS "Building using CMake version: ${CMAKE_VERSION}")
2121
project(arrow-java-jni)
2222

2323
if("${CMAKE_CXX_STANDARD}" STREQUAL "")
24-
set(CMAKE_CXX_STANDARD 11)
24+
set(CMAKE_CXX_STANDARD 17)
2525
endif()
2626
set(CMAKE_CXX_STANDARD_REQUIRED ON)
2727

c/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
install:
2525
- Java 8 or later
2626
- Maven 3.3 or later
27-
- A C++11-enabled compiler
27+
- A C++17-enabled compiler
2828
- CMake 3.11 or later
2929
- Make or ninja build utilities
3030

0 commit comments

Comments
 (0)