Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pawncc: compiler/sc1.c:2237: declglb: Assertion `size>=litidx' failed. #4

Open
Zorono opened this issue Apr 27, 2023 · 3 comments
Open

Comments

@Zorono
Copy link

Zorono commented Apr 27, 2023

assert(size>=litidx);

pawncc: compiler/sc1.c:2237: declglb: Assertion `size>=litidx' failed.

4958 Aborted                 (core dumped)
@Southclaws
Copy link
Contributor

What are the reproduction steps?

@Zorono
Copy link
Author

Zorono commented Apr 28, 2023

What are the reproduction steps?

  1. compile master branch with:
  • clone the repo and checkout to master branch
  • mkdir ./build; cd ./build;
  • cmake ../source/compiler -DCMAKE_C_FLAGS="-m32 -O0 -g" -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles";
  • make;
  1. try to compile any gamemode... (i tried that inside github workflow...)
    please note that i tried compiling empty pwn file too but the error persists somehow

@Zorono Zorono closed this as completed May 17, 2023
@Zorono
Copy link
Author

Zorono commented Jun 27, 2024

this problem happens only when i compile it for Debug... (but cmake -DsNAMEMAX=63 -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release . fixes it)

@Zorono Zorono reopened this Jun 27, 2024
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

No branches or pull requests

2 participants