On Mon, Mar 03, 2014 at 09:53:20PM +0100, FRIGN wrote: > On Mon, 3 Mar 2014 21:16:46 +0000 > sin <s...@2f30.org> wrote: > > > Why can't we not use err(), warn(), etc. from err.h? > > It's not necessary and introduces more problems, as it forces a certain > format on the error-messages, always beginning with "quark:". > I'm all for using built-in functions, but in this case, it's not for > the better.
I don't agree. At the very least have a look at eprintf() from the 'The practice of programming'. We are using similar functions in sbase and ubase. I do not like that the type of log is passed in as an argument, it should just be a separate function.