-
Notifications
You must be signed in to change notification settings - Fork 68
printf issues #650
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
Comments
Hi @neworderofjamie, can you assign this issue to me? I can look into it. |
Sure - that would be a very nice bug to fix. The problematic code is around https://github.com/genn-team/genn/blob/master/src/genn/genn/transpiler/prettyPrinter.cc#L276-L286. |
To make iteration a bit quicker, it's probably easiest to reproduce this with a C++ example. For example if you add |
Hi @neworderofjamie, I hope you're doing well. I came across the issue regarding the incorrect pretty-printing of printf("test\n");, which is being displayed as printf("test\n", );. I'm interested in working on fixing this bug. Could you kindly let me know if this issue is still open or if it has already been resolved? If it's still open, I'd be happy to take a look at it. Thanks in advance! Best regards, |
Hi @gitsofaryan, I noticed that you linked a PR (#650) for this issue, and it looks like the fix was made — but the issue is still open. I couldn't quite understand why it's still open. Was the fix incomplete, or are there CI/test failures preventing it from being merged? I'd love to understand the current status so I can learn from it or contribute further if needed. Thanks! |
is pretty-printed as:
which does not compile
The text was updated successfully, but these errors were encountered: