Git Product home page Git Product logo

Comments (6)

faragon avatar faragon commented on June 1, 2024

It fails also with GCC 5.4 (Ubuntu 16.04) and GCC 7 (Ubuntu 17.10), with similar error.

from jwt-cpp.

DanFTRX avatar DanFTRX commented on June 1, 2024

It seems my last PR (5a267d1) did the preprocessor macro expansions escapes incorrectly, it should be (std::numeric_limits<size_t>::max) rather than std::numeric_limits<size_t>::(max). I should have noticed the difference when I brought up the reference change in nlohmann/json 3.0 (nlohmann/json@95474e4)

It is interesting that the Visual Studio C++ compiler treats the escapes differently than Clang and GCC though, it had not occurred to me that that might be the case, so when it was properly processed on my end I made the assumption all was golden.

from jwt-cpp.

mdr1384 avatar mdr1384 commented on June 1, 2024

FYI - we successfully removed your json.hpp file and added a dependency on the devel/nlohmann-json FreeBSD port and your library built fine and passed all self tests.

from jwt-cpp.

logixworx avatar logixworx commented on June 1, 2024

Still fails here too. Fix?

from jwt-cpp.

pokowaka avatar pokowaka commented on June 1, 2024

I should probably add a subtree dependency on the Json lib.

from jwt-cpp.

pokowaka avatar pokowaka commented on June 1, 2024

We now have a travis build for clang 5, which succeeds.

from jwt-cpp.

Related Issues (20)

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.