Skip to content

-Werror and -isystem - #42

Merged
springmeyer merged 4 commits into
masterfrom
Werror
Mar 17, 2017
Merged

-Werror and -isystem#42
springmeyer merged 4 commits into
masterfrom
Werror

Conversation

@springmeyer

Copy link
Copy Markdown
Contributor

This makes two changes to the default build:

  • We now build with -Werror compiler flag: this changes compiler warnings to errors. The motivation here is that if you start with this behavior, it is easier to keep warning free.
  • We now use -isystem rather than -I to add paths for dependencies like nan. This avoids compiler warnings for code outside of scope to change. Refs Smarter warnings #39

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant