Received: by whizzer.wpd.sgi.com (/911001.SGI)
	 id AA14346; Fri, 11 Feb 94 18:52:51 GMT
Received: from sgi.sgi.com by whizzer.wpd.sgi.com via SMTP (/911001.SGI)
	for /usr/people/sam/majordomo/wrapper resend -l tiff -h sgi.sgi.com -f tiff-owner -s -m "-oi -odq -om" tiff-list id AA14340; Fri, 11 Feb 94 10:52:48 -0800
Received: from relay2.UU.NET by sgi.sgi.com via SMTP (931110.SGI/910110.SGI)
	for tiff-relay@whizzer.wpd.sgi.com id AA21397; Fri, 11 Feb 94 10:52:45 -0800
Received: from uucp4.uu.net by relay2.UU.NET with SMTP 
	(5.61/UUNET-internet-primary) id AAwcvb12724; Fri, 11 Feb 94 13:52:42 -0500
Received: from island.UUCP by uucp4.uu.net with UUCP/RMAIL
        ; Fri, 11 Feb 1994 13:52:43 -0500
Received: from christmas.UUCP by island.COM (4.1/SMI-4.1)
	id AA05095; Fri, 11 Feb 94 10:44:04 PST
Received: by christmas.island.COM (5.0/SMI-SVR4)
	id AA22327; Fri, 11 Feb 1994 09:16:07 +0800
Date: Fri, 11 Feb 1994 09:16:07 +0800
From: sgi.sgi.com!uunet.UU.NET!christmas!rtm (Richard Minner)
Message-Id: <9402111716.AA22327@christmas.island.COM>
To: tiff@sgi.sgi.com
Subject: Re: LibTIFF working on MS-Windows 3.1.
X-Sun-Charset: US-ASCII
Content-Length: 865
Sender: tiff-owner@sgi.sgi.com

> more correct way for libtiff to do, I think, is to have these routines set a
> variable like TIFFerrno, The library should never report error messages on its
> own way. If it fails, return a failure. The application then check the error
> number, and report in what ever way it likes.

Not quite, because the messages are not simply "error 2: you lose" but
rather contain very useful details of the circumstances of the failure.
The current callback scheme is by far the preferred method for reporting
diagnostics.

> Currently, in the windows 3.1,
> we have to set error/warning handler anyway. I think to have them do nothing
> would be a good idea.

They should do nothing only #ifdef _WINDOWS; on other systems the
defaults are useful.
--
Richard Minner  rtm@island.com  {uunet,sun,well}!island!rtm
Island Graphics Corporation  Sacramento, CA  (916) 736-1323


