Re: Suppress warning messages
Frans Coetzee <[email protected]> Tue, 23 Nov 2010 11:48:59 -0500
| Newsgroups | gmane.comp.video.graphicsmagick.tools |
|---|---|
| Organization | Home |
| Message-ID | <[email protected]> |
Your suggestion to add a common option to allow users to specify identifying text to use in any error message might be simplest solution. Frans On 23/11/2010 11:37 AM, Bob Friesenhahn wrote: > On Tue, 23 Nov 2010, Frans Coetzee wrote: >> Is there always a common identifier in a warning message? > > Regarding a common ID which is printed by messages produced by > GraphicsMagick, each subordinate command (e.g. "convert") registers > its name so that it should be used in warning and error reports. For > example, the warning message may be reported as being from > "gm convert". > > In the software, the identifier to use is managed via the > SetClientName() and GetClientName() functions. This allows library > users to assign their own program's name for use in messages. The > default client name (before SetClientName() is invoked) is "Magick". > Perhaps it might be useful if a command option were provided to allow > the user to specify identifying text to use in any error messages. > > Bob ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev