-
Notifications
You must be signed in to change notification settings - Fork 445
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
[Compiler Bug] 'std::out_of_range' #298
Comments
The bug is caused by the @name annotation on some struct fields; in particular, the local_metadata field of the metadata struct has an annotation @name("ingress_metadata"). The compiler mistakenly uses in the output json file both names (local_metadata and ingress_metadata) - depending on context. If you remove the annotation the program will load correctly. Maybe you can remove the annotation until we fix this bug. |
A fix for this issue was landed; closing. |
The program
test.p4
is compiled successfully without any errors or warnings. However, running bmv2 give me the following error:The text was updated successfully, but these errors were encountered: