Re: Suppress warning messages
Bob Friesenhahn <[email protected]> Tue, 23 Nov 2010 10:37:25 -0600 (CST)
| Newsgroups | gmane.comp.video.graphicsmagick.tools |
|---|---|
| Message-ID | <[email protected]> |
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 -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ ------------------------------------------------------------------------------ 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