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

[src] Silence GCC 12 warnings about dangling pointers #45617

Merged
merged 3 commits into from
Jun 25, 2022

Conversation

giordano
Copy link
Contributor

@giordano giordano commented Jun 8, 2022

GCC 12 introduced some new warnings (ref: #45400). This PR silence some of them, my understanding is that the dangling pointers are used on purpose here. If not, this should be resolved in some other ways.

@giordano giordano force-pushed the mg/ignore-dangling-pointers branch from 5fdf8d1 to 78e3e57 Compare June 17, 2022 19:16
@giordano
Copy link
Contributor Author

Bump 🙂 I'll merge by the end of the week if there are no objections.

@giordano giordano merged commit a60c76e into JuliaLang:master Jun 25, 2022
@giordano giordano deleted the mg/ignore-dangling-pointers branch June 25, 2022 16:47
pcjentsch pushed a commit to pcjentsch/julia that referenced this pull request Aug 18, 2022
* [src] Silence GCC 12 warnings about dangling pointers

* [src] Compile with `-Wno-pragmas` to allow pragrams accepted only by different compilers

* [src] Use pragma only when relevant (GCC >= 12)

Using `-Wno-pragmas` would still cause issues when building with `-Werror`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant