• Zsolt Parragi's avatar
    CTest: Represent process exit codes as 64-bit signed integer · 440b08e4
    Zsolt Parragi authored
    Exit code constants on Windows, such as `STATUS_NO_MEMORY` do not fit in
    a 32-bit signed integer type.  They do fit in an unsigned 32-bit type,
    but for compatibility with UNIX semantics we treat exit codes as signed.
    Use a 64-bit signed integer to handle both.
    440b08e4
cmProcess.cxx 18.3 KB