Closed ahundt closed 7 years ago
All these warnings come from the code generated by PyBindGen and we cannot do anything to fix them. I've thus pushed this commit thath should silence all warnings from this package.
@gergondet won't this block all warnings? would it be possible to just block the few relevant warnings?
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")
I know you have other bindings better than this anyway available but my build involves this version at the moment. :-)
Also will that fail if the compiler is not gcc?
Well clang++
also has a -w
flag, not sure about VisualStudio, but I don't think it will break stuff... The real good thing to do would be to find what exactly is triggering the problem in pybindgen
and fix it, but we are not really supporting it anymore...
Building Eigen3ToPython creates an incredible number of repeating warnings which is breaking one of my travis-ci builds because they have a log size limit of 4.0 mb.
Here is an example from one of my builds:
Is there a clean way to actually fix the warning? If not, perhaps the flag can be set to disable it?