From a6766190548ac19f27cd44504a102ce2183e6b33 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Tue, 26 Jul 2022 23:36:28 -0400 Subject: [PATCH] build with vs 2017 --- .appveyor.yml | 3 +-- extensions/blockmarkup.h | 2 +- extensions/regexreplacer.cpp | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 94140cc..8f4371a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -11,7 +11,6 @@ environment: qtbin: msvc2017_64 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 arch: x86 - platform: "" qtbin: msvc2017 before_build: @@ -19,7 +18,7 @@ before_build: - cd C:\ - mkdir %arch% - cd %arch% - - cmake -G "Visual Studio 15 2017%cmakearch%" -DQt5_DIR="C:\Qt\5.13.2\%qtbin%\lib\cmake\Qt5" -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DVERSION="" ../Textractor + - cmake -G "Visual Studio 15 2017%platform%" -DQt5_DIR="C:\Qt\5.13.2\%qtbin%\lib\cmake\Qt5" -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DVERSION="" ../Textractor build: project: C:\%arch%\Textractor.sln diff --git a/extensions/blockmarkup.h b/extensions/blockmarkup.h index a6fe5ba..091a044 100644 --- a/extensions/blockmarkup.h +++ b/extensions/blockmarkup.h @@ -49,7 +49,7 @@ private: } static constexpr C endImpl[5] = { '|', 'E', 'N', 'D', '|' }; - static constexpr std::basic_string_view end{ endImpl, 5 }; + static constexpr std::basic_string_view end{ endImpl, 5 }; std::basic_streambuf& streambuf; std::basic_string buffer; diff --git a/extensions/regexreplacer.cpp b/extensions/regexreplacer.cpp index 4e667b1..be6d28d 100644 --- a/extensions/regexreplacer.cpp +++ b/extensions/regexreplacer.cpp @@ -2,6 +2,7 @@ #include "module.h" #include "blockmarkup.h" #include +#include extern const wchar_t* REGEX_REPLACER_INSTRUCTIONS;