From d09878450971733fe214b9562aec94c3f4b8bd0c Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 2 Jan 2021 09:57:11 +0200 Subject: [PATCH] ggwave-gui : fix build --- examples/ggwave-gui/interface-unix.cpp | 7 +++++++ examples/pfd/pfd.h | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/examples/ggwave-gui/interface-unix.cpp b/examples/ggwave-gui/interface-unix.cpp index ad34f85..2036661 100644 --- a/examples/ggwave-gui/interface-unix.cpp +++ b/examples/ggwave-gui/interface-unix.cpp @@ -31,6 +31,13 @@ void interface_shareFile( } } +void interface_openFile( + const char * , + const char * , + const char * , + size_t ) { +} + void interface_deleteFile( const char * , const char * ) { diff --git a/examples/pfd/pfd.h b/examples/pfd/pfd.h index d52d8cf..1071fd2 100644 --- a/examples/pfd/pfd.h +++ b/examples/pfd/pfd.h @@ -343,7 +343,7 @@ public: #if defined(__has_cpp_attribute) #if __has_cpp_attribute(deprecated) // Backwards compatibility - [[deprecated("Use pfd::opt::multiselect instead of allow_multiselect")]] + //[[deprecated("Use pfd::opt::multiselect instead of allow_multiselect")]] #endif #endif open_file(std::string const &title, @@ -365,7 +365,7 @@ public: #if defined(__has_cpp_attribute) #if __has_cpp_attribute(deprecated) // Backwards compatibility - [[deprecated("Use pfd::opt::force_overwrite instead of confirm_overwrite")]] + //[[deprecated("Use pfd::opt::force_overwrite instead of confirm_overwrite")]] #endif #endif save_file(std::string const &title,