Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[Make] add -Werror, warnings as errors #9398

Closed
wants to merge 1 commit into from
Closed

Conversation

larroy
Copy link
Contributor

@larroy larroy commented Jan 12, 2018

No description provided.

@lebeg
Copy link
Contributor

lebeg commented Jan 12, 2018

I think there are a lot of warnings still to fix, until they can be treated as errors.

@KellenSunderland
Copy link
Contributor

I think I'd prefer to turn on USE_DEV=1 for some of these builds in order to fail the clang builds when the detect some warnings. I was planning on doing that and opening a PR that would address the warnings at the same time.

@@ -53,7 +53,7 @@ include mshadow/make/mshadow.mk
include $(DMLC_CORE)/make/dmlc.mk

# all tge possible warning tread
WARNFLAGS= -Wall -Wsign-compare
WARNFLAGS= -Wall -Wsign-compare -Werror
Copy link
Member

Choose a reason for hiding this comment

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

This is something that would need to be discussed on dev. Also, when developing, you don't want to have errors on warnings

@larroy
Copy link
Contributor Author

larroy commented Jan 15, 2018

Thanks for the comments, I wanted to see how bad it is by running this through CR, I'm fixing warnings all the time which sometimes cover bugs. I would like to have no warnings in one or two platforms at least.

As indicated by some of you, we can discuss on dev@

@cjolivier01
Copy link
Member

closing until it’s discussed in the community

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants