Avoid abort() throughout the library, except when preprocessor