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

Trying to annotate some types crashes clang #33

Open
billzorn opened this issue Feb 10, 2015 · 1 comment
Open

Trying to annotate some types crashes clang #33

billzorn opened this issue Feb 10, 2015 · 1 comment
Labels

Comments

@billzorn
Copy link

The example I found was:

#include <enerc.h>

int main() {
  APPROX int (*foo)[2];
  return foo[0][0];
}
@tmoreau89
Copy link
Contributor

encountered the same bug that will cause clang to crash - workaround involves avoiding multidimensional array pointers altogether (use regular one-dimensional array pointer, and perform address computation explicitly...)

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

No branches or pull requests

2 participants