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

CR-1235101 : Fix error when including xrt_device.h in C file #8836

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rbramand-xilinx
Copy link
Collaborator

Problem solved by the commit

Fixed compilation error when including xrt_device.h file in .c file.

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

How problem was solved, alternative solutions (if any) and why they were rejected

Moved inclusion of xrt_exception.h in xrt_device.h under __cplusplus gaurd

Risks (if any) associated the changes in the commit

Low

What has been tested and how, request additional testing if necessary

Tested vvas build flow and it passes after applying this fix

Documentation impact (if any)

NA

Signed-off-by: rbramand <rbramand@amd.com>
@rbramand-xilinx rbramand-xilinx requested review from chvamshi-xilinx and removed request for uday610 March 26, 2025 09:15
Copy link

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Collaborator

@stsoe stsoe left a comment

Choose a reason for hiding this comment

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

I think we need to fix xrt_exception.h instead to be includable from C code.

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.

None yet

2 participants