All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Jaroslav Kysela <perex@suse.cz>
Cc: Glenn Maynard <glenn@zewt.org>, alsa-devel@lists.sourceforge.net
Subject: Re: Removal of assert() in alsa-lib
Date: Fri, 10 Dec 2004 12:03:16 +0100	[thread overview]
Message-ID: <s5hllc68lfv.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0412100848580.1749@pnote.perex-int.cz>

At Fri, 10 Dec 2004 08:49:36 +0100 (CET),
Jaroslav wrote:
> 
> On Fri, 10 Dec 2004, Glenn Maynard wrote:
> 
> > On Thu, Dec 09, 2004 at 05:23:06PM +0100, Takashi Iwai wrote:
> > > +void snd_err_msg(const char *file, int line, const char *function, int err, const char *fmt, ...) __attribute__ ((format (printf, 5, 6)));
> > 
> > Can this be a weak symbol, so it can be overridden by user code?
> 
> snd_lib_error_set_handler() (or something similar) will do it for you.

In my patch, it doesn't work so.  These verbose message is handled in
a static function.  I'll change it so that you can set assert() in
your own error handler.


Takashi


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

      reply	other threads:[~2004-12-10 11:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-01 16:31 Removal of assert() in alsa-lib Takashi Iwai
2004-12-01 17:51 ` Jaroslav Kysela
2004-12-01 18:01   ` Takashi Iwai
2004-12-02 12:03     ` Takashi Iwai
2004-12-09 16:23       ` Takashi Iwai
2004-12-10  5:46         ` Glenn Maynard
2004-12-10  7:49           ` Jaroslav Kysela
2004-12-10 11:03             ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hllc68lfv.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=glenn@zewt.org \
    --cc=perex@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.