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

Silence some noisy, benign warnings #27

Open
sampsyo opened this issue Jul 22, 2014 · 0 comments
Open

Silence some noisy, benign warnings #27

sampsyo opened this issue Jul 22, 2014 · 0 comments

Comments

@sampsyo
Copy link
Member

sampsyo commented Jul 22, 2014

Two kinds of warnings appear when compiling correct EnerC code:

  • Cast errors saying stuff like "casting int * to parameter of type Q1 int *" are a result of our adapting the types of functions before getting to adapt the type of the function call. Maybe we can trick Clang into checking these as the same type.
  • Endorsements sometimes cause an "unused value" warning, despite our attempts to turn them off with pragmas.

These may be solved automatically if we ever switch to Quala for our frontend needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant