-
Notifications
You must be signed in to change notification settings - Fork 12
Process system package #237
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
Conversation
gnat2goto/driver/tree_walk.adb
Outdated
Package_Symbol.Mode := Intern ("C"); | ||
Package_Symbol.Value := Make_Nil (Sloc (N)); | ||
|
||
Global_Symbol_Table.Insert (Package_Name, Package_Symbol); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we inserting the package into the symbol table? ❓
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this refers to #231.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid an initialised symbol in Do_Compilation_Unit
@@ -1,7 +1,19 @@ | |||
Standard_Error from gnat2goto absolute: | |||
Warning: Multi-language analysis unsupported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for this it might be worth to add something like
prove(ignore_lines=[
'Warning: Multi-language analysis unsupported.'
])
which would drop all lines matching some pattern from the output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment about ignoring pragma Import when the calling convention is "Intrinsic" in PR#234
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another option is to use the standard warning mechanism of the gnat front end to generate warning messages and then we could use the pragma Warnings to control reporting.
we also do not need to include uname anymore.
4503eb9
to
fb6c7c5
Compare
will be squashed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I understand how the commit message has anything to do with what's going on in the first commit. Can someone explain it to me?
@NlightNFotis before in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't quite get it but OK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Start processing the
System
package.