Giter Club home page Giter Club logo

config-cpp's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

config-cpp's Issues

cxxopts version 1.2.0 is incorrectly listed in cmakefile

find_package(cxxopts 1.2.0 REQUIRED)

cxxopts 1.2.0 is incompatible with the usage of Options::parse in config-cpp.cpp.

cxxopts v1.2.0 has return type of void for Options::parse
v2.0.0 and up has return type of ParseResult for Options::parse, which is what config-cpp needs.

Can't build without JSON support

There is a stray jsonHandler.cpp in `src/Makefile' which makes it impossible to build without the JSON library available:

set (config-cpp_SRC
    config-cpp.cpp
    jsonHandler.cpp    <-----
    util.cpp
    value.cpp
    event.cpp
    notification.cpp
    filesystemEvent.cpp
    inotify.cpp
)

cxxopts::OptionParseException deprecated in newest version of cxxopts

cxxopts::OptionParseException deprecated in newest version of cxxopts
cuase the compiling error as follow:

config-cpp.cpp: In member function ‘bool ConfigCpp::ConfigCpp::ReadInConfig()’:
config-cpp.cpp:176:27: error: ‘OptionParseException’ in namespace ‘cxxopts’ does not name a type
  176 |         } catch (cxxopts::OptionParseException &e) {
      |                           ^~~~~~~~~~~~~~~~~~~~
config-cpp.cpp:178:39: error: ‘e’ was not declared in this scope
  178 |             std::cout << "Error: " << e.what() << "\n";
      |                                       ^
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-predefined-identifier-outside-function’

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.