Skip to content

fix constellation compilation error#559

Merged
jsuarez5341 merged 1 commit into
PufferAI:4.0from
PLAZMAMA:fix-contellation-compilation-err
May 13, 2026
Merged

fix constellation compilation error#559
jsuarez5341 merged 1 commit into
PufferAI:4.0from
PLAZMAMA:fix-contellation-compilation-err

Conversation

@PLAZMAMA
Copy link
Copy Markdown
Contributor

@PLAZMAMA PLAZMAMA commented May 13, 2026

Currently I have a bug when I try to compile constellation on clang v14.0.6.

The following is the error I get

(.venv) ⎇ improve_boids_4.0* ~/src/PufferLib=> ./build.sh constellation --local
Compiling constellation...
warning: unknown warning option '-Werror=array-parameter'; did you mean '-Werror=unused-parameter'? [-Wunknown-warning-option]
constellation/constellation.c:185:19: error: initializer element is not a compile-time constant
    .font_color = PUFF_WHITE,
                  ^~~~~~~~~~
1 warning and 1 error generated.
warning: unknown warning option '-Werror=array-parameter'; did you mean '-Werror=unused-parameter'? [-Wunknown-warning-option]
1 warning generated.

I fixed it by just "# defining" the colors

Extra

Sorry for the redundant white space deletions... My editor did that.

@jsuarez5341 jsuarez5341 merged commit df0ae5f into PufferAI:4.0 May 13, 2026
8 checks passed
@PLAZMAMA PLAZMAMA deleted the fix-contellation-compilation-err branch May 14, 2026 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants