Skip to content

Commit 9d97867

Browse files
Quick fix for mismatch return type and System2 for Windows
1 parent e10b25f commit 9d97867

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

External/System2

Submodule System2 updated 1 file

Src/runcpp2/runcpp2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ namespace
281281
if(sharedLibExtToCopy == nullptr)
282282
{
283283
ssLOG_ERROR("Shared library extension not found in compiler profile");
284-
return -1;
284+
return false;
285285
}
286286

287287
//If the executable already exists, check if it's newer than the script
@@ -336,7 +336,7 @@ namespace
336336
if(targetSharedLibExt == nullptr || targetSharedLibPrefix == nullptr)
337337
{
338338
ssLOG_ERROR("Shared library extension or prefix not found in compiler profile");
339-
return -1;
339+
return false;
340340
}
341341

342342
std::string sharedLibBuild = scriptDirectory +

0 commit comments

Comments
 (0)