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

Invalid string format exception #4144

Closed
jhavrane opened this issue Sep 8, 2023 · 0 comments · Fixed by #4145
Closed

Invalid string format exception #4144

jhavrane opened this issue Sep 8, 2023 · 0 comments · Fixed by #4145
Labels
bug This behavior is unintended and should be fixed. core Topics concerning the core segments of the compiler (frontend, midend, parser)

Comments

@jhavrane
Copy link
Contributor

jhavrane commented Sep 8, 2023

Issue

Found a program which triggers message with invalid format string, as mentioned in #4141.

Compiler bug triggered, please report this error:
exception type: boost::wrapexcept<boost::io::bad_format_string>
error: boost::bad_format_string: format-string is ill-formed

P4 program

#include <core.p4>

extern main {}
@fruffy fruffy added bug This behavior is unintended and should be fixed. core Topics concerning the core segments of the compiler (frontend, midend, parser) labels Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This behavior is unintended and should be fixed. core Topics concerning the core segments of the compiler (frontend, midend, parser)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants