From 8a98d59b2b4954f51eb3f649d3675af976154de6 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 1 Sep 2021 03:18:24 +0300 Subject: [PATCH] Additional MSVC fixes --- source/copy.cpp | 2 ++ source/externaltask.cpp | 1 - source/gnucompiler.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/copy.cpp b/source/copy.cpp index 6a2de24..53118de 100644 --- a/source/copy.cpp +++ b/source/copy.cpp @@ -1,5 +1,7 @@ +#ifndef _WIN32 #include #include +#endif #include #include #include diff --git a/source/externaltask.cpp b/source/externaltask.cpp index dce0e06..16d1df0 100644 --- a/source/externaltask.cpp +++ b/source/externaltask.cpp @@ -1,5 +1,4 @@ #include -#include #include #include #include diff --git a/source/gnucompiler.cpp b/source/gnucompiler.cpp index 064b0a0..c877ae1 100644 --- a/source/gnucompiler.cpp +++ b/source/gnucompiler.cpp @@ -150,7 +150,7 @@ void GnuCompiler::prepare_syspath() start = newline+1; } } - catch(const runtime_error &e) + catch(const runtime_error &) { } } -- 2.45.2