2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Another attempt at correct cmd length check.

This commit is contained in:
Rene Rivera
2020-09-03 22:33:02 -05:00
parent 8eeed08f01
commit 210cef7ae2

View File

@@ -1219,7 +1219,12 @@ static CMD * make1cmds( TARGET * t )
: "contains a line that is too long";
assert( cmd_check_result == EXEC_CHECK_TOO_LONG ||
cmd_check_result == EXEC_CHECK_LINE_TOO_LONG );
if (sizeof(size_t) == (sizeof(long int)))
if (sizeof(size_t) == (sizeof(long long int)))
out_printf(
"%s action %s (%lld, max %lld):\n",
object_str( rule->name ), error_message,
cmd_error_length, cmd_error_max_length );
else if (sizeof(size_t) == (sizeof(long int)))
out_printf(
"%s action %s (%ld, max %ld):\n",
object_str( rule->name ), error_message,