Skip to content

[Warnings] Resolved Basic Warnings for GCC13 #2830

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

AlexandreSinger
Copy link
Contributor

Resolved a warning in search_bar.cpp which warned about a reference to a temporary. Simply fixed by splitting the statement into two lines.

Resolved a warning in draw_rr.cpp where a print statement was trying to access an invalid location in an array. The print statement did not make sense, it was trying to print an undefined side. This was removed.

Resolved a warning in the automatically generated vpr_constraints file. This was an interesting warning due to the decltype method returning the attributes of the FILE pointer, but this was passed into a template which discards the attributes (this generates a warning). Resolved this manually locally and raised a PR on the uxsdcxx repo with this fix: SymbiFlow/uxsdcxx#53

@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code labels Nov 30, 2024
Resolved a warning in search_bar.cpp which warned about a reference to a
temporary. Simply fixed by splitting the statement into two lines.

Resolved a warning in draw_rr.cpp where a print statement was trying to
access an invalid location in an array. The print statement did not make
sense, it was trying to print an undefined side. This was removed.

Resolved a warning in the automatically generated vpr_constraints and
rr_graph files.
This was an interesting warning due to the decltype method returning the
attributes of the FILE pointer, but this was passed into a template
which discards the attributes (this generates a warning). Resolved this
manually locally and raised a PR on the uxsdcxx repo with this fix:
SymbiFlow/uxsdcxx#53
@AlexandreSinger AlexandreSinger force-pushed the feature-dangling-reference branch from b004262 to 35e3e40 Compare November 30, 2024 16:34
@AlexandreSinger
Copy link
Contributor Author

@vaughnbetz This is a very small PR which resolves most of the last warnings in GCC13. After issue #2831 is resolved, we should be able to raise the CI to 24.04 while remaining warning clean.

Copy link
Contributor

@vaughnbetz vaughnbetz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@vaughnbetz vaughnbetz merged commit c7c045a into verilog-to-routing:master Nov 30, 2024
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-cpp C/C++ code VPR VPR FPGA Placement & Routing Tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants