Skip to content
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 to yaml 0.5 #4

Open
Ironholds opened this issue Jul 4, 2015 · 2 comments
Open

Upgrade to yaml 0.5 #4

Ironholds opened this issue Jul 4, 2015 · 2 comments

Comments

@Ironholds
Copy link
Contributor

What it says on the tin.

@jayjacobs
Copy link

Would having yaml-cpp/0.5.2 and getting this (below) error on install be related to this issue?

internal_UaParser.cpp:53:7: error: no member named 'first' in 'YAML::detail::iterator_base<const YAML::detail::iterator_value>'; did you mean to use '->' instead of '.'?
      FILL_AGENT_STORE(user_agent, browser, "family_replacement",
      ^
internal_UaParser.cpp:28:33: note: expanded from macro 'FILL_AGENT_STORE'
      const std::string key = it.first().to<std::string>();              \
                                ^
internal_UaParser.cpp:53:7: error: no matching function for call to object of type 'const YAML::Node'
      FILL_AGENT_STORE(user_agent, browser, "family_replacement",
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal_UaParser.cpp:28:31: note: expanded from macro 'FILL_AGENT_STORE'
      const std::string key = it.first().to<std::string>();              \
                              ^~~~~~~~
/usr/local/include/yaml-cpp/node/node.h:59:3: note: conversion candidate of type 'void (*)(unspecified_bool::NOT_ALLOWED *)'

Update: Yes, I uninstalled yaml-cpp 0.5.2 and installed yaml-cpp version 0.3.0 from source and was able to install uap-r successfully.

@Ironholds
Copy link
Contributor Author

Yeah, we don't yet have yaml 0.5.2 support; it's 0.3.0 only. I keep meaning to port it and then forgetting.

Really the ideal is writing this in R-native C++ or C, but how we get there...I have no idea. This codebase is a complex and inherited one :/

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

No branches or pull requests

2 participants