All checks were successful
continuous-integration/drone/push Build is passing
This removes two FIXMEs from the time there was no stderr.
12 lines
321 B
C++
12 lines
321 B
C++
#include <luna/Attributes.h>
|
|
#include <luna/SourceLocation.h>
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
_weak [[noreturn]] bool __check_failed(SourceLocation location, const char* expr)
|
|
{
|
|
fprintf(stderr, "Check failed at %s:%d in %s: %s\n", location.file(), location.line(), location.function(), expr);
|
|
abort();
|
|
}
|