kou commented on issue #37750:
URL: https://github.com/apache/arrow/issues/37750#issuecomment-1722144520

   Can we use the following (and similar changes)?
   
   ```diff
   diff --git a/cpp/cmake_modules/SetupCxxFlags.cmake 
b/cpp/cmake_modules/SetupCxxFlags.cmake
   index a5f565972..a65daf03f 100644
   --- a/cpp/cmake_modules/SetupCxxFlags.cmake
   +++ b/cpp/cmake_modules/SetupCxxFlags.cmake
   @@ -329,7 +329,7 @@ if("${BUILD_WARNING_LEVEL}" STREQUAL "CHECKIN")
        set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Wno-sign-conversion")
        set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Wunused-result")
        set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Wdate-time")
   -  elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
   +  elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel" OR CMAKE_CXX_COMPILER_ID 
STREQUAL "IntelLLVM")
        if(WIN32)
          set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} /Wall")
          set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} /Wno-deprecated")
   ```
   
   Or can we use the following (and similar changes)?
   
   ```diff
   diff --git a/cpp/cmake_modules/SetupCxxFlags.cmake 
b/cpp/cmake_modules/SetupCxxFlags.cmake
   index a5f565972..b595e6372 100644
   --- a/cpp/cmake_modules/SetupCxxFlags.cmake
   +++ b/cpp/cmake_modules/SetupCxxFlags.cmake
   @@ -313,7 +313,7 @@ if("${BUILD_WARNING_LEVEL}" STREQUAL "CHECKIN")
        set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} /wd4267")
        set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} /wd4838")
      elseif(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" OR 
CMAKE_CXX_COMPILER_ID STREQUAL
   -                                                        "Clang")
   +                                                        "Clang" OR 
CMAKE_CXX_COMPILER_ID STREQUAL "IntelLLVM")
        set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Wall")
        set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Wextra")
        set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Wdocumentation")
   ```
   
   Or do we need one more new branch for the compiler?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to