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

Re-enable -Wall on Unix #4038

Closed
jmarrec opened this issue Aug 11, 2020 · 0 comments · Fixed by #4040
Closed

Re-enable -Wall on Unix #4038

jmarrec opened this issue Aug 11, 2020 · 0 comments · Fixed by #4040
Assignees

Comments

@jmarrec
Copy link
Collaborator

jmarrec commented Aug 11, 2020

Issue overview

8db1b93 had disabled -Werror AND -Wall

#3577 only re-enabled -Werror but not -Wall

Possible Solution

Re-enable -Wall, and fix all build errors that will arise in the process.

Details

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform (Operating system, version): Ubuntu 18.04
  • Version of OpenStudio (if using an intermediate build, include SHA): develop (post 3.0.1) c68fcf6

Context

-Wall is needed. I just got hit with a problem today, where I forgot a return <object> in a method that wasn't void. -Wall, which enables -Wreturn-type, would have caught this problem, and that's when I realized it wasn't turned on.

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

Successfully merging a pull request may close this issue.

1 participant