Immediate-Mode-UI / Immediate-Mode-UI/Nuklear
how to fix size of array '_dummy_array214' is negative error?
- Dominant language
- C
- Stars
- 11.4k
- Forks
- 686
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 3
Description
Hi everyone,
I'm working with codeblocks and using the Nuklear SDL Renderer example. When I compile, I'm encountering an error message that states "size of array '_dummy_array214' is negative." I've tried adding NK_Implementation before Nuklear.h as suggested in previous discussions, but the error persists.
Here's some additional context that might be helpful:
Compiler: I'm using Mingw on Windows 10.

Contributor guide
Research direction
Start with the Nuklear SDL Renderer example and Nuklear.h, then reproduce the reported MinGW-on-Windows compilation error. Check the example's include and implementation setup, including the attempted NK_Implementation placement. Done means identifying and documenting a verified configuration or change that allows the example to compile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100