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

Incorrect global variable compilation error in nginx #111

Open
TheDan64 opened this issue Jun 14, 2019 · 0 comments
Open

Incorrect global variable compilation error in nginx #111

TheDan64 opened this issue Jun 14, 2019 · 0 comments
Assignees
Labels
bug Something isn't working refactorer This issue relates to the refactoring tool

Comments

@TheDan64
Copy link
Contributor

Running the noop traversal script over a freshly translated nginx gives you these weird compilation errors:

error: expected identifier, found keyword `mut`
 --> <anon>:1:12
  |
1 | pub static mut inc: uint64_t = 1i32 as uint64_t;
  |            ^^^ expected identifier, found keyword
help: you can escape reserved keywords to use them as identifiers
  |
1 | pub static r#mut inc: uint64_t = 1i32 as uint64_t;
  |            ^^^^^

However, when you run it a second time you don't see these errors anymore

@TheDan64 TheDan64 added bug Something isn't working refactorer This issue relates to the refactoring tool labels Jun 14, 2019
@rinon rinon self-assigned this Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working refactorer This issue relates to the refactoring tool
Projects
None yet
Development

No branches or pull requests

2 participants