Test ignored-error storage across translation units
Some checks failed
libakerror CI Build / cmake_build (push) Successful in 2m55s
libakerror CI Build / cmake_build_freestanding (push) Successful in 2m44s
libakerror CI Build / sanitizer (push) Failing after 2m55s
libakerror CI Build / coverage (push) Successful in 2m55s
libakerror CI Build / mutation_test (push) Successful in 42m38s

This commit is contained in:
2026-08-05 23:34:47 -04:00
parent 54c245c59d
commit bab2f102a1
6 changed files with 50 additions and 1 deletions

View File

@@ -216,7 +216,7 @@ extern akerr_ErrorLogFunction akerr_log_method;
* after the pool slot is reused. The snapshot is read-only and is replaced by
* the next ignored error. Thread local only when AKERR_THREAD_SAFE is 1.
*/
static AKERR_THREAD_LOCAL akerr_ErrorContext akerr_last_ignored;
extern AKERR_THREAD_LOCAL akerr_ErrorContext akerr_last_ignored;
/*
* Drop one reference, returning NULL once the last one is gone so the caller can