Coder Social home page Coder Social logo

Upgrade to yaml 0.5 about uap-r HOT 2 OPEN

Ironholds avatar Ironholds commented on July 1, 2024
Upgrade to yaml 0.5

from uap-r.

Comments (2)

jayjacobs avatar jayjacobs commented on July 1, 2024

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.

from uap-r.

Ironholds avatar Ironholds commented on July 1, 2024

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 :/

from uap-r.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.