improve reporting of primitive-count startup error
This commit is contained in:
parent
5a12d7bf71
commit
bcc9b2264e
|
@ -347,9 +347,10 @@ static void init_startup_env(void)
|
||||||
|
|
||||||
#if USE_COMPILED_STARTUP
|
#if USE_COMPILED_STARTUP
|
||||||
if (builtin_ref_counter != EXPECTED_PRIM_COUNT) {
|
if (builtin_ref_counter != EXPECTED_PRIM_COUNT) {
|
||||||
printf("Primitive count %d doesn't match expected count %d\n"
|
fprintf(stderr,
|
||||||
"Turn off USE_COMPILED_STARTUP in src/schminc.h\n",
|
"Primitive count %d doesn't match expected count %d\n"
|
||||||
builtin_ref_counter, EXPECTED_PRIM_COUNT);
|
"Update the count in src/schminc.h and bump the version in src/schvers.h\n",
|
||||||
|
builtin_ref_counter, EXPECTED_PRIM_COUNT);
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user