sst-core icon indicating copy to clipboard operation
sst-core copied to clipboard

Add [[noreturn]] attribute to SST::Output::fatal()

Open leekillough opened this issue 1 year ago • 0 comments

Describe the solution you'd like Add [[noreturn]] attribute to SST::Output::fatal()

[[noreturn]] allows greater optimization and avoids warnings about missing return values in functions which call SST::Output::fatal() but don't return values.

Describe alternatives you've considered Add dummy return after calls to SST::Output::fatal() to avoid warnings

leekillough avatar Oct 29 '24 16:10 leekillough