Skip to content

[Infra] Fixed False Forward Declarations #3098

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

The Clang builds were warning that there were several forward declarations of structs which were supposed to be classes and vice-versa.

This is not necessarily a problem since in C++ classes and structs end up being basically the same from the compiler's perspective, but its still incorrect. Fixed the cases I could see in the Clang builds.

The Clang builds were warning that there were several forward
declarations of structs which were supposed to be classes and
vice-versa.

This is not necessarily a problem since in C++ classes and structs end
up being basically the same from the compiler's perspective, but its
still incorrect. Fixed the cases I could see in the Clang builds.
@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code labels May 30, 2025
Copy link
Contributor

@AmirhosseinPoolad AmirhosseinPoolad left a comment

Choose a reason for hiding this comment

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

LGTM

@AlexandreSinger AlexandreSinger merged commit b442c5f into verilog-to-routing:master May 31, 2025
32 checks passed
@AlexandreSinger AlexandreSinger deleted the feature-build-fixed-forward-declarations branch May 31, 2025 02:14
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