-
Notifications
You must be signed in to change notification settings - Fork 285
Linking: replace conflicting pointer types when one declaration is extern #2024
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
760202c to
c8dc07a
Compare
smowton
left a comment
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
c8dc07a to
252d815
Compare
252d815 to
e1b62b9
Compare
martin-cs
left a comment
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.
The parts of it that touch my world look good.
e1b62b9 to
d847b6c
Compare
| warning().source_location = symbol.value.find_source_location(); | ||
| warning() << "`extern' symbol should not have an initializer" << eom; | ||
| } | ||
| } |
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.
Turn into error when in gcc or clang mode?
| const bool replace_with_const) const | ||
| const bool replace_with_const, | ||
| const bool ignore_type_change) const | ||
| { |
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 think this is getting to bizarre, and to linker specific. I'd make that a separate piece of code, just for the linker.
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.
d847b6c to
5c8171f
Compare
5c8171f to
3086f21
Compare
|
This is now implemented on top of #2723 with the suggested, linker-specific implementation. |
6b111a4 to
6a20f61
Compare
6a20f61 to
cbd5d9f
Compare
cbd5d9f to
6e921c2
Compare
allredj
left a comment
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.
This PR failed Diffblue compatibility checks (cbmc commit: 6e921c2).
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
6e921c2 to
c720555
Compare
allredj
left a comment
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.
This PR failed Diffblue compatibility checks (cbmc commit: 6e921c2).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/83986092
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
allredj
left a comment
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.
Passed Diffblue compatibility checks (cbmc commit: c720555).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/84011100
c720555 to
e8b03a7
Compare
allredj
left a comment
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.
Passed Diffblue compatibility checks (cbmc commit: e8b03a7).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/84094002
e8b03a7 to
d7dae29
Compare
allredj
left a comment
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.
Passed Diffblue compatibility checks (cbmc commit: d7dae29).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/86154692
|
@kroening ping? |
d7dae29 to
2f60e13
Compare
allredj
left a comment
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.
Passed Diffblue compatibility checks (cbmc commit: 2f60e13).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/86766275
2f60e13 to
80ff4e5
Compare
allredj
left a comment
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.
Passed Diffblue compatibility checks (cbmc commit: 80ff4e5).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/86776976
No description provided.