Giter VIP home page Giter VIP logo

tm's People

Contributors

to-miz avatar

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tm's Issues

[tm_json.h] unused function warning

Great project. There is still a warning if TM_JSON_IMPLEMENTATION is defined (both GCC and Clang):

g++ -std=c++11 -Wall -Wpedantic -O2 -o tmj_example tmj_example.cpp
In file included from tmj_example.cpp:2:0:
tm_json.h:819:16: warning: ‘tm_bool stringEqualsIgnoreCaseNull(const char*, size_t, const char*)’ defined but not used [-Wunused-function]
 static tm_bool stringEqualsIgnoreCaseNull(const char* a, size_t aSize, const char* b) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~

I have attached the start of an example project. I did get things working before, but since the update my code stopped working, and absent documentation I don't feel like going all Indiana Jones on it in my present state. Many thanks for even small insight into how the library works.

EDIT: It was my code, not yours. The library still works the same way. Still, it would be nice to have some information about (for example) how to access a yet-unknown object as key/value pairs.

[tm_json.h] GCC warns about multiline string comment

When compiling with gcc -Wall -Wpedantic in C++11 mode I get this warning. I would suggest a block comment instead.

tm_json.h:305:5: warning: multi-line comment [-Wcomment]
     // "property": "this is a multiline \
     ^

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.