Giter Club home page Giter Club logo

Comments (2)

eliasdaler avatar eliasdaler commented on May 26, 2024

Apparently GLM has a flag to disable anonymous struct usage in similar context like this: https://github.com/g-truc/glm/blob/4137519418a933e5863eea7c3ac53890ae7faf9d/glm/detail/type_vec3.hpp#L50

from joltphysics.

jrouwe avatar jrouwe commented on May 26, 2024

I think you must be turning this warning on specifically for your project. I compiled with gcc 13 and it doesn't trigger the warning (also godbolt doesn't) unless I specifically add -Wpedantic. In any case I disabled the warning inside Jolt as it compiles and works fine under gcc, clang and MSVC.

from joltphysics.

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.