-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Enable error when GCC/clang print warning #4843
Conversation
@TheMarex Shall I close the old one of mine? |
0cff9da
to
579ca34
Compare
This PR is blocked by #4849 since we require a higher compiler version to trim down the false positives. |
579ca34
to
f337292
Compare
31f480a
to
c95d4d8
Compare
Nice work getting this going! |
c95d4d8
to
0248b52
Compare
I could help cleaning/fixing warnings reported by MSVC. |
This can be removed after cjntaylor/node-cmake#37 is merged and released.
7146357
to
295d615
Compare
@mloskot yes a MSVC PR would be great! |
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.
Looks good to me! Really nice to have zero warnings policy
.travis.yml
Outdated
@@ -350,7 +350,7 @@ install: | |||
- mkdir example/build && pushd example/build | |||
- export PKG_CONFIG_PATH=${OSRM_INSTALL_DIR}/lib/pkgconfig | |||
- cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} | |||
- make --jobs=${JOBS} | |||
- make --jobs=${JOBS} VERBOSE=1 |
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.
is VERBOSE=1
needed on master or it is just a left over?
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.
Leftover, good catch forgot about this commit.
295d615
to
df1b06b
Compare
Issue
As replacement for this pr we are going to be a lot stricter about the warnings we do enable and will make the build fail so that we can catch it in CI.
Tasklist
Requirements / Relations
Replacement for #4495