autocxx icon indicating copy to clipboard operation
autocxx copied to clipboard

Regressions after updating to clang/LLVM 19.1.0

Open brt-adam-snaider opened this issue 1 year ago • 2 comments

Caveat: I understand this BUG is quite vague in nature. Part of the ask here is to document if there are specific requirements in regards to the latest supported LLVM/Clang toolchain or if autocxx is supposed to be backwards compatible/agnostic to them.

Describe the bug Upgraded our internal C++ toolchain to clang 19.1.0 and autocxx is now unable to generate many bindings it used to have.

To Reproduce Potentially update examples to LLVM 19.1.0. I'll see if I can get an example set up.

Expected behavior autocxx is able to generate bindings.

brt-adam-snaider avatar Sep 20 '24 21:09 brt-adam-snaider

Hi, behind the scenes autocxx is dependent on a forked version of bindgen called autocxx-bindgen. It's probable that bindgen has undergone changes to become compatible with LLVM 19.1.0 and that autocxx-bindgen needs to merge in the latest bindgen changes. This is unfortunately quite a time consuming process but I'll see if I can get a chance to do it sometime in the near future. Even sooner than that, I might document the procedure in case you want to do it.

adetaylor avatar Sep 23 '24 11:09 adetaylor

This might be the same as #1396. Unfortunately rolling bindgen hasn't solved it.

adetaylor avatar Sep 28 '24 09:09 adetaylor

I'm going to assume this is the same as #1396, please reopen if not.

adetaylor avatar Jan 08 '25 23:01 adetaylor