Git Product home page Git Product logo

Comments (4)

GValiente avatar GValiente commented on September 3, 2024

Hi,

Are you trying to create a new font?

Error logs seem to say that you are trying to render an invalid UTF-8 character and that the number of characters (ASCII + UTF-8) is different to the number of sprites in the spritesheet.

from butano.

laqieer avatar laqieer commented on September 3, 2024

I know the error it indicates in my new font but it is not the point that I want to report. According to the doc of BN_ASSERT, it can be used in constexpr contexts (is_constant_evaluated() returns true, but I still get the build error: call to non-'constexpr' function 'void __assert_func(const char*, int, const char*, const char*)'. I have already fixed the errors it asserts, but I think is_constant_evaluated may not work as expected.

from butano.

GValiente avatar GValiente commented on September 3, 2024

Well, BN_ASSERT can be used in constexpr contexts, in fact the errors you are showing mean that constexpr asserts work.

It's just that the way the compiler shows that a constexpr assert has failed is not very friendly.

from butano.

laqieer avatar laqieer commented on September 3, 2024

OK. I thought it will show the predefined info in the assert instead.

from butano.

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.