Comments (4)
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.
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.
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.
OK. I thought it will show the predefined info in the assert instead.
from butano.
Related Issues (20)
- bgs/sprites are still *committed to the GBA* after calling `set_visible(false)`? HOT 2
- Cannot declare different sized `bn::bitset` at the same time HOT 2
- `bg_map_cell []` not aligned to 4, accesses weird indices HOT 3
- There should be an option to disable asset image import optimization HOT 14
- It would be nice to be able to change palette colors HOT 2
- Discord server invite is invalid HOT 4
- bn::music::stop() is raising an error if no music is playing HOT 2
- Makefile parameter "-j" HOT 2
- Common Stats includes its own behaviour in its report HOT 2
- Provide template specialization for `bn::array<T, 0>`(empty array) ? HOT 2
- Provide an option to export instruments on `s3m2gbt` HOT 2
- Cannot construct `const` objects with `bn::generic_pool` & `bn::pool` HOT 2
- Provide `value_template_actions`, but storing `Value&` instead? HOT 4
- Error in bn_string.h
- Cannot restore `music` & `dmg_music` from their `position` when sync is enabled HOT 1
- Allow the random value to be discarded HOT 2
- can't open file `C:\\devkitPro\\msys2\\tools\\butano_assets_tool.py`: [Errno 2] No such file or directory
- Is possible to use 16x16 tiles in Regular backgrounds? HOT 2
- [Request] Add hash support for `bn::type_id_t` HOT 1
- [Docs] Same derived class appears 6 times in `bn::igeneric_pool_base` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from butano.