Skip to content

Conversation

@jeffdonahue
Copy link
Contributor

Revert the change introduced by my lint cleanup that probably broke the Python and MATLAB wrappers: changing "using namespace caffe" to "namespace caffe { }". Sorry!

@shelhamer, could you check that this resolves the issues you were having with the Python wrapper? When I diff the versions of the wrappers in this PR against bca6595 (which @shelhamer reported as working), I now see only style changes that I don't think could alter any behavior, with the exception of changing the single-argument CaffeBlob constructor to be "explicit" in the Python wrapper. (At some point it would be nice to have a couple small unit tests for the wrappers, at least to check that they run at all.)

Also slipping in Makefile changes to suppress unnecessary output ("Done processing...") and not rerun lint if successful and no source files have changed.

@shelhamer
Copy link
Member

Nope, the boost headers need to be included before <vector> and <string> or the build breaks, at least on osx. Spooky 👻

I'm going to hold all the lint changes in dev for now and drop them from next.

@jeffdonahue
Copy link
Contributor Author

Oh, huh, that's odd. It builds for me on Ubuntu (as did the version before this PR -- didn't realize it was actually breaking the build for you, thought it was a runtime issue).

Makes sense to hold off on merging.

changed; saves output to build/cpp_lint.log (or build/cpp_lint.error_log
on failure)
shelhamer added a commit that referenced this pull request Feb 27, 2014
@shelhamer shelhamer merged commit de4f7a4 into BVLC:dev Feb 27, 2014
@shelhamer
Copy link
Member

Thanks for the fix Jeff. I'll fix whatever residual osx problem there is.

@shelhamer shelhamer mentioned this pull request Mar 18, 2014
@jeffdonahue jeffdonahue deleted the fix-lint-bugs branch September 7, 2014 13:17
mitmul pushed a commit to mitmul/caffe that referenced this pull request Sep 30, 2014
wk910930 pushed a commit to wk910930/caffe that referenced this pull request Jun 21, 2017
* upgrade travis image and cuda

* fix ppas
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.

2 participants