diff --git a/cython/setup.py b/cython/setup.py index 149e075..0af5f23 100644 --- a/cython/setup.py +++ b/cython/setup.py @@ -20,7 +20,7 @@ if sys.platform == "linux" or sys.platform == "darwin" : lnkargs = ['-std=c++17','-Wno-unused-variable'] elif sys.platform == "win32" : cmpargs = ['/EHsc','/std:c++17'] - lnkargs = ['/EHsc','/std:c++17'] + lnkargs = [] else : raise RuntimeError("unknown platform") diff --git a/lib/tdm_termite.cpp b/lib/tdm_termite.cpp index 2457e0f..cc12196 100644 --- a/lib/tdm_termite.cpp +++ b/lib/tdm_termite.cpp @@ -852,7 +852,7 @@ void tdm_termite::print_group(std::string &id, const char* filename, bool includ for ( std::string chn: chngrp.channels_ ) { std::vector chndat = this->get_channel(chn); - if ( chndat.size() > maxrows ) maxrows = chndat.size(); + if ( chndat.size() > maxrows ) maxrows = (unsigned int)chndat.size(); allchns.push_back(chndat); } diff --git a/pip/setup.py b/pip/setup.py index 2d3aac1..7152157 100644 --- a/pip/setup.py +++ b/pip/setup.py @@ -9,7 +9,7 @@ if sys.platform == "linux" or sys.platform == "darwin" : lnkargs = ['-std=c++17','-Wno-unused-variable'] elif sys.platform == "win32" : cmpargs = ['/EHsc','/std:c++17'] - lnkargs = ['/EHsc','/std:c++17'] + lnkargs = [] else : raise RuntimeError("unknown platform")