[mlpack-git] [mlpack] Consider disabling -Wunused-parameter in compilation (#377)

Ryan Curtin notifications at github.com
Mon Jan 12 11:46:43 EST 2015


In 3ad083b I've fixed the `-Wunused-parameter` warnings.  They don't appear under gcc, but I think this may be because gcc might not issue warnings for functions it isn't actually compiling into something.  Just a guess though.  I fixed some `-Wunused-private-field` warnings in fba66e1 and 660fd96.  With those fixes, do you still see warnings?  (Maybe at the level of Armadillo?)

Personally I like fixing warnings, in case downstream projects are compiling with aggressive warning settings (I think RcppMLPACK compiles with `-pedantic`?  I'm not certain though).

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/377#issuecomment-69601076
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150112/4710eaed/attachment.html>


More information about the mlpack-git mailing list