-
Notifications
You must be signed in to change notification settings - Fork 75
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
Upgrade YamlCpp to new 0.5 API #8
Conversation
https://ci.appveyor.com/project/numenta-ci/nupic-core/build/0.3.0.2255/job/tpqniaraoo0ctifo#L1172 |
@chhenning @mattheller if you are running Windows, do you think you could try having a look in to the problem? |
Good news is that your code changes are working on my Windows machine. Great work! I have internally upgraded to yaml-cpp 0.5.3. Bad news is that I cannot really help with cmake. Sorry. |
replaces old API GetNextDocument()
as upgrading to YAML 0.5 from 0.3
as upgrading to 0.5 API
replaces node >> invValue; upgrade to 0.5 API
use val = node.as<T>(); instead of node >> val; upgrading to API 0.5 yaml
replaced with .as<T>()
This reverts commit c44f9c5.
This reverts commit dac77df.
LoadFile is for filepath, Load() is for yaml strings: '[1 2 3 4 5]'
proken during this PR, now fixed
apparently, yaml-cpp had a bug and did not handle 1 letter strings "1" Now it seems to work ok. Add test
fb4874d
to
7da9a4b
Compare
new API, many fixes since old release. Removed dependency on Boost (causes problems in our CI machines)
This reverts commit 7f05a3f. As this causes errors in our CI, no longer required due to bump to YamlCpp 0.6+
as we were getting error with gtest, disabling tests for YamlCpp workarounds the problem.
@rhyolight should I tag you for changes like this that could be backported upstream to numenta, or you'll be watching out yourself? |
YAML is a dependency, update to latest version, fix breaking changes as they moved to new API.
Fixes numenta#1319 #33
Moved from numenta#1320
Todo:
Network.cpp
, see the issue for details and help.Boost