Drake: -Wshadow tripped in solvers/NonlinearProgramSnoptmex.cpp

Created on 25 Jul 2016  路  12Comments  路  Source: RobotLocomotion/drake

Sorry, you have not run 'make' yet in the drake root,
which means you do not have the compiled MEX files needed to run this program.
Running configure and make in the drake root directory will fix this.

https://drake-jenkins.csail.mit.edu/view/Nightly/job/mac-clang-nightly-matlab/115/console

mac high bug matlab

All 12 comments

Link?

Added, though it is any OS X MATLAB build in the last few days.

Specifically, this looks like the first red nightly. Odd that it includes no CMake changes.

https://drake-jenkins.csail.mit.edu/view/Nightly/job/mac-clang-nightly-matlab/112/

The changes to drake-ci on July 22 also don't smell like culprits. Interesting. _EDIT: Actually, this nightly was testing changes from July 21, when there were no drake-ci changes at all._

https://github.com/RobotLocomotion/drake-ci/commits/master

It appears that the real issue is in solvers/NonlinearProgramSnoptmex.cpp.

This also tripped CI in #2896. Not sure what changed that this is suddenly tripping, but it's a real build error and should probably be fixed by someone more familiar with the code in question than myself...

@rpoyner-tri FYI

Probably broke here: f2c4d53d0ed636cf482fe23e4ca0775e1a7e2333.

Good catch, @mwoehlke-kitware. I guess it's a clang-specific error, since it didn't show up in Linux+gcc+MATLAB.

I believe -Wshadow is not enabled under GCC; see drake/CMakeLists.txt:83

@rpoyner-tri, over to you. Looks like Mac MATLAB tests should be requested from Jenkins for -Wshadow cleanup.

@jamiesnape: help me out here. I've submitted #2920 and requested a mac clang matlab build, but I see Jenkins telling me that all 'mac' nodes are offline. Is that something that should worry me?

That is normal. They need time to boot and establish a connection to Jenkins master (2-3 minutes).

closed via #2920.

Was this page helpful?
0 / 5 - 0 ratings