setup.py: fix compilation with MSVC
This commit is contained in:
parent
1e2b344104
commit
dc23b1e753
@ -11,8 +11,8 @@ extensions = Extension(
|
||||
include_dirs=["lib","3rdparty/pugixml"],
|
||||
language='c++',
|
||||
#extra_compile_args=['-std=c++17','-Wno-unused-variable'],
|
||||
extra_compile_args=['-std=c++17'],
|
||||
extra_link_args=['-std=c++17'],
|
||||
extra_compile_args=['-std=c++17','/EHsc','/std:c++17'],
|
||||
extra_link_args=['-std=c++17','/EHsc','/std:c++17'],
|
||||
)
|
||||
|
||||
os.system("git tag > gittags.log")
|
||||
|
@ -917,7 +917,7 @@ void tdm_termite::check_filename_path(const char* filename)
|
||||
|
||||
if ( !std::filesystem::is_directory(pt) )
|
||||
{
|
||||
throw std::runtime_error(std::string("directory does not exist: ") + pt.c_str() );
|
||||
throw std::runtime_error( std::string("directory does not exist: ") + pt.u8string() );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user