-
Notifications
You must be signed in to change notification settings - Fork 145
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
Fix warnings and switch on Werror #42
Conversation
@@ -137,7 +137,7 @@ BenchResult doBenchType(const typename NearestNeighbourSearch<T>::SearchType typ | |||
const typename NearestNeighbourSearch<T>::Matrix& d, | |||
const typename NearestNeighbourSearch<T>::Matrix& q, | |||
const int K, | |||
const int itCount, | |||
const int /*itCount*/, |
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.
ok, since nabo can query all points at once
@@ -39,8 +39,8 @@ endif(NOT CMAKE_BUILD_TYPE STREQUAL "Debug") | |||
set(DOXYFILE_LATEX false) | |||
include(UseDoxygen) | |||
|
|||
# Compilation | |||
add_definitions(-Wall) | |||
# Switch on warnings and disable one python interface warning. |
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.
I don't get the part about python. I can only see turning on all warnings.
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.
yes, I had to remove it since the gcc on jenkins does not understand W-no-defined-but-unused-templates.
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.
will modify
Fix warnings and switch on Werror
No description provided.