Skip to content
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

ARROW-10489: [C++] Add Intel C++ compiler options for different warning levels #9266

Closed
wants to merge 2 commits into from

Conversation

jcmuel
Copy link
Contributor

@jcmuel jcmuel commented Jan 19, 2021

@pitrou
Copy link
Member

pitrou commented Jan 19, 2021

Thank you for the PR @jcmuel ! Can you also make sure the two other BUILD_WARNING_LEVEL codepaths build fine?

…EVEL == EVERYTHING and Production. In both cases, we simply use -Wall.
Copy link
Member

@pitrou pitrou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @jcmuel . Will merge if CI is green.

@jcmuel
Copy link
Contributor Author

jcmuel commented Jan 19, 2021

I just added the missing code path, and adjusted the production code path, such that it uses "/Wall" on Intel for Windows. Not sure if this is necessary, but I did it for the sake of consistency with the other two code paths.

@pitrou pitrou changed the title ARROW-10489: [C++] Add Intel C++ compiler options for BUILD_WARNING_LEVEL == CHECKIN ARROW-10489: [C++] Add Intel C++ compiler options for different warning levels Jan 19, 2021
@pitrou
Copy link
Member

pitrou commented Jan 19, 2021

Those warnings are mainly for development, but useful anyway.

@github-actions
Copy link

@pitrou pitrou closed this in 127961a Jan 19, 2021
kszucs pushed a commit that referenced this pull request Jan 25, 2021
…ng levels

See [Intel Compiler warning flag documentation](https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/error-handling-1/warnings-errors-and-remarks.html).

Closes #9266 from jcmuel/master

Authored-by: Johannes Müller <JohannesMueller@fico.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
GeorgeAp pushed a commit to sirensolutions/arrow that referenced this pull request Jun 7, 2021
…ng levels

See [Intel Compiler warning flag documentation](https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/error-handling-1/warnings-errors-and-remarks.html).

Closes apache#9266 from jcmuel/master

Authored-by: Johannes Müller <JohannesMueller@fico.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
michalursa pushed a commit to michalursa/arrow that referenced this pull request Jun 13, 2021
…ng levels

See [Intel Compiler warning flag documentation](https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/error-handling-1/warnings-errors-and-remarks.html).

Closes apache#9266 from jcmuel/master

Authored-by: Johannes Müller <JohannesMueller@fico.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants