Skip to content

Commit f7bdeb1

Browse files
More helpful warning and error messages
1 parent d682154 commit f7bdeb1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Src/runcpp2/CompilingLinking.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,9 @@ namespace
626626
ssLOG_WARNING( "Trying to link static dependency when script is being " <<
627627
"built as shared. Linking might not work on some platforms.");
628628

629+
//TODO: Bug where cache is not invalidated when running with a different type
629630
//TODO: Maybe revert the default back to executable?
630-
ssLOG_WARNING( "If linking fails, run with -e instead");
631+
ssLOG_WARNING("If linking fails, run with -rb instead");
631632
}
632633

633634
goto processLinkFile;

Src/runcpp2/PipelineSteps.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,8 @@ runcpp2::ProcessDependencies( Data::ScriptInfo& scriptInfo,
822822
dependenciesLocalCopiesPaths,
823823
maxThreads))
824824
{
825-
ssLOG_ERROR("Failed to build script dependencies");
825+
ssLOG_ERROR("Failed to build script dependencies. Maybe try resetting dependencies "
826+
"with \"-rd all\" and run again?");
826827
return PipelineResult::DEPENDENCIES_FAILED;
827828
}
828829
}

0 commit comments

Comments
 (0)