From: Mikko Rasa Date: Wed, 1 Sep 2021 00:18:24 +0000 (+0300) Subject: Additional MSVC fixes X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=8a98d59b2b4954f51eb3f649d3675af976154de6;p=builder.git Additional MSVC fixes --- 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 &) { } }