hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
305 stars 48 forks source link

fix implicit function declaration #53

Closed Schievel1 closed 1 year ago

Schievel1 commented 1 year ago

Implicitly declared functions result only in a warning on GCC<=13 and clang<=16. However, starting with clang16 and probably also GCC14 once it is released -Wimplicit-function-declaration will be the default setting and the call of vasprintf will result in an error.