-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-17196 Fix C/C++ standard warnings #2208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* Passing C/C++ standard flags -std is not cross-compiler friendly as not all compilers support all values. * Thus, we need to make use of the appropriate flags provided by CMake in order to specify the C/C++ standards.
|
💔 -1 overall
This message was automatically generated. |
|
The cc warnings in the above CI run are not introduced by my patch. They're due to the existing code. |
|
Regarding test4tests, this patch doesn't change any behaviour thus adding/modifying tests isn't necessary. |
|
@aajisaka could you please review this PR? |
aajisaka
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, +1
* Passing C/C++ standard flags -std is not cross-compiler friendly as not all compilers support all values. * Thus, we need to make use of the appropriate flags provided by CMake in order to specify the C/C++ standards. Signed-off-by: Akira Ajisaka <[email protected]> (cherry picked from commit 909f1e8)
|
Thank you @GauthamBanasandra for your contribution! |
* Passing C/C++ standard flags -std is not cross-compiler friendly as not all compilers support all values. * Thus, we need to make use of the appropriate flags provided by CMake in order to specify the C/C++ standards. Signed-off-by: Akira Ajisaka <[email protected]> (cherry picked from commit 909f1e8)
This reverts commit ff907b3.
This reverts commit b4a105a.
not cross-compiler friendly as not all
compilers support all values.
appropriate flags provided by CMake in
order to specify the C/C++ standards.