You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling maho-mqtt-sys on Fedora 38 with clang 16.0.2 fails as follows:
debug:Using bindgen for Paho C
debug:clang version: clang version 16.0.2 (Fedora 16.0.2-1.fc38)
debug:bindgen include path: -I/home/dw/projects/modbus/sun2000-homie/target/release/build/paho-mqtt-sys-69b2a6d9e5bbfd11/out/include
--- stderr
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
gmake[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
thread 'main' panicked at '"__mbstate_t_union_(unnamed_at_/usr/include/bits/types/__mbstate_t_h_16_3)" is not a valid Ident', /home/dw/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.56/src/fallback.rs:811:9
The problem is in bindgen v0.52.0 and was fixed by rust-lang/rust-bindgen#2319 as a result the minimum version of bindgen compatible with clang-16 is v0.62.0.
Thanks for reporting this! I was away for most of the summer, but am starting back on some open source projects now, and will get this in with the next set of bug fixes.
Compiling maho-mqtt-sys on Fedora 38 with clang 16.0.2 fails as follows:
The problem is in bindgen v0.52.0 and was fixed by rust-lang/rust-bindgen#2319 as a result the minimum version of bindgen compatible with clang-16 is v0.62.0.
Once I bump paho-mqtt-sys to 0.8.1 in
paho.mqtt.rust/Cargo.toml
Line 25 in 058c4f8
to:
Please consider updating this dependency and release updated version of paho.mqtt crate.
The text was updated successfully, but these errors were encountered: