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

Warnings #169

Open
trufae opened this issue Dec 9, 2022 · 0 comments
Open

Warnings #169

trufae opened this issue Dec 9, 2022 · 0 comments

Comments

@trufae
Copy link

trufae commented Dec 9, 2022

Copypasting some of the warnings i get that block my -Werror builds, maybe worth adding those cflags in the mujs ci

p/mujs/mujs/jsrun.c: In function ‘jsR_run’:
p/mujs/mujs/jsrun.c:201:14: error: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Werror=strict-overflow]
  if (idx < 0 || idx >= TOP)
              ^
In file included from p/mujs/mujs/one.c:21:0,
                 from p/mujs/plugin.c:9,
                 from lang.c:24:
p/mujs/mujs/jsrun.c: In function ‘js_call’:
p/mujs/mujs/jsrun.c:383:5: error: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Werror=strict-overflow]
  if (TOP < BOT) {
     ^
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

1 participant