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

Several files will not compile for C++ #293

Open
PCrabbeIMMT opened this issue Mar 21, 2024 · 10 comments
Open

Several files will not compile for C++ #293

PCrabbeIMMT opened this issue Mar 21, 2024 · 10 comments

Comments

@PCrabbeIMMT
Copy link

When attempting to compile our project in C++ against the embeddedsw repo, there are several headers that cause build failures. The ones we have run into are as follows:

  • xdp.h: Missing extern "C" {}
  • xdp_hw.h: Missing extern "C" {}
  • xv_tpg.h: _Bool is not defined, had to include stdbool.h to solve this. Shouldnt this just match what other functions have done (use u8?).
  • i2stx_chsts.h: Missing the closing brace for the extern "C"
  • i2srx_chsts.h: Missing the closing brace for the extern "C"

We have patched it on our end, but it would be greatly appreciated for these to be fixed upstream.

@keryell
Copy link
Member

keryell commented Mar 21, 2024

Too bad.
Could you send a PR?

@MajorArkwolf
Copy link

MajorArkwolf commented Mar 22, 2024

Too bad. Could you send a PR?

The PR template says "Please do not submit a Pull Request via github. Our project makes use of mailing lists for patch submission and review.", I can submit a patch unless the maintainer specifically wants a PR?

Note: Replying from my personal account

@keryell
Copy link
Member

keryell commented Mar 22, 2024

Interesting.
I will investigate internally about this non-PR story. @tejus26

@tejus26
Copy link
Member

tejus26 commented Mar 22, 2024

@msreeram-xilinx , @saddepal or @vsrik should be able to help.

@MajorArkwolf
Copy link

I do have the changes for the two issues I have raised and I can point them to this repo if you guys would like me to.

See:
MajorArkwolf#1
MajorArkwolf#2
MajorArkwolf#3

@msreeram-xilinx
Copy link
Collaborator

hi @saddepal
can you please forward to respective to check the issue.

@PCrabbeIMMT
Copy link
Author

Note that I also raised another issue for build failures in C++ as well: #294

@vsrik
Copy link
Contributor

vsrik commented Mar 22, 2024

Yes @PCrabbeIMMT - we will take a look at #293 and #294

@keryell
Copy link
Member

keryell commented Mar 22, 2024

Yes @PCrabbeIMMT - we will take a look at #293 and #294

Perhaps this is a good opportunity to experiment a move to a more inclusive open-source workflow based only on GitHub instead of using Jurassic mail-based patches for simple changes without IP issues?

@PCrabbeIMMT
Copy link
Author

I have emailed 3 patches to resolve #293 and #294

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

No branches or pull requests

6 participants