mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
must use abort() not return in ERR macro, or solaris compiler craps out
This commit is contained in:
parent
209742ebec
commit
7abc6347bf
@ -36,7 +36,7 @@ fflush(stdout); /* Make sure our stdout is synced with stderr. */ \
|
||||
err++; \
|
||||
fprintf(stderr, "Sorry! Unexpected result, %s, line: %d\n", \
|
||||
__FILE__, __LINE__); \
|
||||
return 2; \
|
||||
abort(); \
|
||||
} while (0)
|
||||
|
||||
/* This macro prints an error message with line number and name of
|
||||
|
Loading…
Reference in New Issue
Block a user