liberror is a library for C and C++ that addresses the allegedly simply task of printing messages. It is essentially a feature-rich substitute for fprintf. Features include colours via ANSI mark-up, multiple error streams, report files, automatic error number assignment, filtering by number, subsystems, and groups, buffering with manual filtering and re-issuing, callbacks, error counters, time stamping, and message styles.
| Tags | Software Development Libraries User Interfaces |
|---|---|
| Operating Systems | POSIX Linux Solaris Windows Windows |
| Implementation | C C++ Perl |
Recent releases


Changes: Separate filters for developer messages were introduced. A function for flushing all buffers was added for debugging purposes.


Changes: The library uses less memory and is faster. Command line parsing was improved and parts of the parser are now exported. A few bugs were fixed.


Changes: Some command line options for debugging were added. Support for XML report files was prepared by adding more message callbacks. Compilation problems for newer GCCs were fixed. Debian package support was added.


Changes: The package compiles under Windows now (there were missing files). The assert() macro now correctly prints nested asserts. New command line options for debugging: forced assertion failure and endless loop.


Changes: A bugfix was made for --msg-{hide,suppress}-{subsystem,group} for multiple comma-separated values. This bug led to in infinite loop that consumed memory and eventually led to a crash.