Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2019-10-08 20:25:11 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2019-10-08 20:25:11 +0300
commitc29833d0da66ca9e8a1aff16e1a5c9bcab7b84da (patch)
treeb16afa84b11fc0aebd7bdd6dee51eb4437e09706
parent29b50c514e41b1571649b4282d4f91dffbe27c3d (diff)
Suppress clang warnings in async_file_handle.hpp when compiling with status code.
-rw-r--r--include/llfio/revision.hpp6
-rw-r--r--include/llfio/v2.0/async_file_handle.hpp7
2 files changed, 10 insertions, 3 deletions
diff --git a/include/llfio/revision.hpp b/include/llfio/revision.hpp
index ed12ca20..a138c7f9 100644
--- a/include/llfio/revision.hpp
+++ b/include/llfio/revision.hpp
@@ -1,4 +1,4 @@
// Note the second line of this file must ALWAYS be the git SHA, third line ALWAYS the git SHA update time
-#define LLFIO_PREVIOUS_COMMIT_REF dbf76606c10d325eee673b82173ec0897e0db3ff
-#define LLFIO_PREVIOUS_COMMIT_DATE "2019-10-07 09:54:55 +00:00"
-#define LLFIO_PREVIOUS_COMMIT_UNIQUE dbf76606
+#define LLFIO_PREVIOUS_COMMIT_REF 29b50c514e41b1571649b4282d4f91dffbe27c3d
+#define LLFIO_PREVIOUS_COMMIT_DATE "2019-10-07 17:41:49 +00:00"
+#define LLFIO_PREVIOUS_COMMIT_UNIQUE 29b50c51
diff --git a/include/llfio/v2.0/async_file_handle.hpp b/include/llfio/v2.0/async_file_handle.hpp
index 853afc8e..dfdb4d6c 100644
--- a/include/llfio/v2.0/async_file_handle.hpp
+++ b/include/llfio/v2.0/async_file_handle.hpp
@@ -249,6 +249,10 @@ protected:
dsync_async
};
struct _erased_completion_handler;
+ #ifdef __clang__
+ #pragma clang diagnostic push
+ #pragma clang diagnostic ignored "-Wdefaulted-function-deleted"
+ #endif
// Holds state for an i/o in progress. Will be subclassed with platform specific state and how to implement completion.
struct _erased_io_state_type
{
@@ -308,6 +312,9 @@ protected:
_erased_io_state_type &operator=(_erased_io_state_type &&) = default;
_erased_io_state_type &operator=(const _erased_io_state_type &) = default;
};
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif
struct _io_state_deleter
{
template <class U> void operator()(U *_ptr) const