fgerlits commented on code in PR #1968:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1968#discussion_r2290471715


##########
CMakeLists.txt:
##########
@@ -315,9 +315,11 @@ else()
     list(APPEND MINIFI_CPP_COMPILE_OPTIONS -Wall -Wextra)
     if(MINIFI_FAIL_ON_WARNINGS)
         list(APPEND MINIFI_CPP_COMPILE_OPTIONS -Werror)
-        # -Wrestrict may cause build failure in GCC 12  
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336
-        if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
-            list(APPEND MINIFI_CPP_COMPILE_OPTIONS -Wno-error=restrict)

Review Comment:
   This bug was fixed in GCC 12.4. We could update the README to say that we 
support GCC 12.4 or higher.



-- 
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