Xilinx / embeddedsw

Xilinx Embedded Software (embeddedsw) Development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Several files will not compile for C++

PCrabbeIMMT opened this issue · comments

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.

Too bad.
Could you send a PR?

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

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

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

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

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

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

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

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?

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