aboutsummaryrefslogtreecommitdiff
path: root/ports/nana/fix-build-error.patch
diff options
context:
space:
mode:
authorwangli28 <47812810+wangli28@users.noreply.github.com>2019-06-26 02:00:48 +0800
committerPhil Christensen <philc@microsoft.com>2019-06-25 11:00:48 -0700
commit90ad82908e85ff4b6cd385b82da3e8b66692a8b1 (patch)
tree0b196e3e6cfb8335e3afe2eff0194a43174642fc /ports/nana/fix-build-error.patch
parent14d1575e0b1e77d2308891966f7aac5515266487 (diff)
downloadvcpkg-90ad82908e85ff4b6cd385b82da3e8b66692a8b1.tar.gz
vcpkg-90ad82908e85ff4b6cd385b82da3e8b66692a8b1.zip
[nana, fmi4cpp] Fix Visual Studio 2019 deprecates <experimental/filesystem>. (#7021)
Diffstat (limited to 'ports/nana/fix-build-error.patch')
-rw-r--r--ports/nana/fix-build-error.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/nana/fix-build-error.patch b/ports/nana/fix-build-error.patch
new file mode 100644
index 000000000..3894f9600
--- /dev/null
+++ b/ports/nana/fix-build-error.patch
@@ -0,0 +1,12 @@
+diff --git a/include/nana/filesystem/filesystem.hpp b/include/nana/filesystem/filesystem.hpp
+index 86b907a..ea8db75 100644
+--- a/include/nana/filesystem/filesystem.hpp
++++ b/include/nana/filesystem/filesystem.hpp
+@@ -30,6 +30,7 @@
+ #ifndef NANA_FILESYSTEM_HPP
+ #define NANA_FILESYSTEM_HPP
+ #include <nana/push_ignore_diagnostic>
++#define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING
+
+ //Filesystem Selection
+ #include <nana/config.hpp>