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

Add -Wall and -Wextra, fix lots of warnings #230

Merged
merged 2 commits into from
Apr 11, 2019
Merged

Add -Wall and -Wextra, fix lots of warnings #230

merged 2 commits into from
Apr 11, 2019

Conversation

taliesin
Copy link
Contributor

  • remove set but not used variables
  • (void) cast unused function arguments
  • create internal function duplicates for some actually
    deprecated functions, for the f77 files disable
    the deprecation warning completely.
  • add warning flags to travis

Note: some of the maybe-unitialized warnings do not
show in gcc 7.3.0, but travis seems to use a different one.

This closes #226.

@taliesin
Copy link
Contributor Author

taliesin commented Nov 6, 2018

Anything else to be done to have that merged?

src/api/nlopt.h Outdated Show resolved Hide resolved
 - remove set but not used variables
 - (void) cast unused function arguments
 - create internal function duplicates for some actually
   deprecated functions, for the f77 files disable
   the deprecation warning completely.
 - add warning flags to travis

Note: some of the maybe-unitialized warnings do not
  show in gcc 7.3.0, but travis seems to use a different one.

This closes #226.
@stevengj
Copy link
Owner

stevengj commented Apr 11, 2019

rebased and updated to eliminate internal usage of the deprecated API

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.

Lots of C/C++ warnings ...
2 participants