Giter Site home page Giter Site logo

Comments (5)

zgyarmati avatar zgyarmati commented on September 3, 2024

If compiled with -std=c++11 or -std=gnu++11, it builds correctly, so is there any declaration of supporting only >= C++11 ?
As far i can tell apart this compilation issue it works with C++98.

from grantlee.

antonio-rojas avatar antonio-rojas commented on September 3, 2024

grantlee itself compiles correctly, but it breaks some users (such as subsurface). It works ok with GCC6, which defaults to C++14

from grantlee.

steveire avatar steveire commented on September 3, 2024

GCC has the right-angle brackets feature since at least GCC 4.3. Grantlee headers before commit 00a053f already require the nullptr feature. I don't see how 00a053f could affect you being able to build it. Did you try with older commits?

from grantlee.

antonio-rojas avatar antonio-rojas commented on September 3, 2024

Compiling subsurface against grantlee 0.5.1 fails with GCC 5, and changing back '>>' to '> >' fixes the build. But as I said it's OK with GCC 6, so feel free to close this.

from grantlee.

steveire avatar steveire commented on September 3, 2024

If you want to build with GCC 5, then add the necessary flag to the buildsystem.

from grantlee.

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.