Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 416
    • Issues 416
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Merge requests
  • !623

Initialize colors array with empty strings to fix presentation of colors in...

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Quinten Cabo requested to merge initalise-runtime-colors-with-empty-strings into develop Feb 27, 2026
  • Overview 0
  • Commits 1
  • Changes 1

Initialize colors array with empty strings to fix presentation of colors in errors before main runs.

Without this change you can get the following:

(null)*** Stack trace:(null) unavailable.
(null)***(null) Hint: Compile with (null)`-check s`(null) to generate a stack trace.

(null)***(null) SAC runtime (null)error(null)
*** Number of threads is unspecified or exceeds legal range (1 to 128).
***     Use the 'SAC_PARALLEL' environment variable or the option -mt <num>' (which override the environment variable).

Because this error is generated before main properly sets the colors to empty strings.

If you make this change then the (null) go away in this error.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: initalise-runtime-colors-with-empty-strings