Giter VIP home page Giter VIP logo

Comments (6)

KitsuneRal avatar KitsuneRal commented on August 22, 2024

I'm not sure how the build could succeed with such an error... What compiler are you using?

from libquotient.

KitsuneRal avatar KitsuneRal commented on August 22, 2024

In general, lookup of friend functions is a mess when it comes to namespaces, so I'm not surprised. Will look into how to better reorganise this.

from libquotient.

agraul avatar agraul commented on August 22, 2024

I am using gcc and used make to build it: link to complete logfile.

I want to add that I am new to packaging / building from source and while this has built successfully, I could not try it out yet since I am struggling a bit with building Quaternion using the package I built as a dependency (but that has to do with the build service at this point in time)

from libquotient.

KitsuneRal avatar KitsuneRal commented on August 22, 2024

Wow, GCC 7 - the toolchain is hot :)
So that is actually a warning. I think you can go with it just fine in the meantime; although, if GCC actually doesn't find this operator and uses a generic one instead, you might have slightly less friendly debug printing. In other words, you really shouldn't care. Meanwhile, I'll take a closer look at this code from C++ language perspective.
If I can help with building Quaternion, feel free to ask. I'm totally green in OBS though.

from libquotient.

KitsuneRal avatar KitsuneRal commented on August 22, 2024

Ok, that's definitely small and it seems to not even alter anything in the working code - the compiler just whines that it hasn't seen a declaration inside a namespace before the operator definition that implies that namespace. And it seems to be either a fresh addition to GCC, or a consequence of one of those hardening flags (although that would be rather obscure). Letting the issue stay open and wait for a newcomer to valiantly fix it :)

from libquotient.

KitsuneRal avatar KitsuneRal commented on August 22, 2024

Fixed by 503957c

from libquotient.

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.