Closed alexanderwwagner closed 1 year ago
Ooops, we use the wrong deleter. This fix should work, but I guess it would be better to switch to std::vector
diff --git a/AdsLib/AdsNotification.h b/AdsLib/AdsNotification.h
index 5cd0192..f686c65 100644
--- a/AdsLib/AdsNotification.h
+++ b/AdsLib/AdsNotification.h
@@ -55,6 +55,6 @@ struct Notification {
private:
const PAdsNotificationFuncEx callback;
- const std::shared_ptr<uint8_t> buffer;
+ const std::shared_ptr<uint8_t[]> buffer;
const uint32_t hUser;
};
Okay thank you for the workaround. It works!
This should be fixed by commit b0b1e7846a0693ec0c574c34d743c53c1038057d additionally we now build test internally on archlinux, too (05d084bd328e63e84531400c1363a3a4da091168)
Describe the Bug I try to compile ADS on Archlinux and get an error after calling ninja.
Environment OS: Archlinux gcc: 12.2.0
To Reproduce meson build
ninja -C build
Expected Behavior Succeed library build
Reproducibility 100%