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>2018-08-23 11:37:08 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2018-08-23 11:37:08 +0300
commit1c7209c3b928bacb43e1391ed7523f63c5385816 (patch)
treeeb7c295a49b2015b933b43994f594620aa480690
parent517fce968606853d24bae19176a7c224aaed97dc (diff)
Add warning about use of header only edition of error code edition on Windows.
m---------include/llfio/ntkernel-error-category0
-rw-r--r--include/llfio/revision.hpp6
-rw-r--r--include/llfio/v2.0/detail/impl/windows/import.hpp7
m---------include/llfio/v2.0/outcome0
m---------test/kerneltest0
5 files changed, 8 insertions, 5 deletions
diff --git a/include/llfio/ntkernel-error-category b/include/llfio/ntkernel-error-category
-Subproject 8b1bc49c852feaadf99b815e63dffb8b6a7cd0c
+Subproject d6b8e9a544792518613d98668277be29dc32227
diff --git a/include/llfio/revision.hpp b/include/llfio/revision.hpp
index 32c9001f..c430e71f 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 d39c3ba6c1510c6692db851288c12ec0d7b60e39
-#define LLFIO_PREVIOUS_COMMIT_DATE "2018-08-16 08:38:26 +00:00"
-#define LLFIO_PREVIOUS_COMMIT_UNIQUE d39c3ba6
+#define LLFIO_PREVIOUS_COMMIT_REF 517fce968606853d24bae19176a7c224aaed97dc
+#define LLFIO_PREVIOUS_COMMIT_DATE "2018-08-22 19:56:24 +00:00"
+#define LLFIO_PREVIOUS_COMMIT_UNIQUE 517fce96
diff --git a/include/llfio/v2.0/detail/impl/windows/import.hpp b/include/llfio/v2.0/detail/impl/windows/import.hpp
index c7ccf165..6d22daab 100644
--- a/include/llfio/v2.0/detail/impl/windows/import.hpp
+++ b/include/llfio/v2.0/detail/impl/windows/import.hpp
@@ -54,8 +54,11 @@ Distributed under the Boost Software License, Version 1.0.
#if !LLFIO_EXPERIMENTAL_STATUS_CODE
// Bring in the custom NT kernel error code category
#if LLFIO_HEADERS_ONLY
-#define NTKERNEL_ERROR_CATEGORY_INLINE
-#define NTKERNEL_ERROR_CATEGORY_STATIC
+#if !defined(NTKERNEL_ERROR_CATEGORY_INLINE)
+#pragma message("WARNING: LLFIO_HEADERS_ONLY=1, LLFIO_EXPERIMENTAL_STATUS_CODE=0 and NTKERNEL_ERROR_CATEGORY_INLINE=1 on Windows, this can produce unreliable binaries where semantic comparisons of error codes randomly fail!")
+#define NTKERNEL_ERROR_CATEGORY_INLINE 1 // BOLD!
+#define NTKERNEL_ERROR_CATEGORY_STATIC 1
+#endif
#endif
#include "../../../../ntkernel-error-category/include/ntkernel_category.hpp"
#endif
diff --git a/include/llfio/v2.0/outcome b/include/llfio/v2.0/outcome
-Subproject 4499df4c41e85450b87a6b1338a755bbb5e2655
+Subproject 92c8fa50a2c792bce9e1a60e0c3473161ba56aa
diff --git a/test/kerneltest b/test/kerneltest
-Subproject 3172681c82a503b395749a2458f462346480240
+Subproject 121ce604da83d1737dac39ded091f95100819f6