zml1206 commented on code in PR #10161:
URL: 
https://github.com/apache/incubator-gluten/pull/10161#discussion_r2209400923


##########
ep/build-velox/src/build_velox.sh:
##########
@@ -101,7 +101,7 @@ function compile {
   # Maybe there is some set option in velox setup script. Run set command 
again.
   set -exu
 
-  CXX_FLAGS='-Wno-error=stringop-overflow -Wno-error=cpp 
-Wno-missing-field-initializers -Wno-unknown-warning-option'
+  CXX_FLAGS='-Wno-error=stringop-overflow -Wno-error=cpp 
-Wno-missing-field-initializers -Wno-unknown-warning-option 
-Wno-template-id-cdtor'

Review Comment:
   It seems to be caused by C++20. Docker uses gcc11 and C++17 to compile, so 
this problem will not occur. You can use gcc11 or specify -std=c++17 to see if 
the problem can be solved.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to