[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hatman won't compile [was james@pharaoh0.demon.co.uk: Re: [jgoerzen@complete.org: Bug#39294: hatman: Error in error]]



On Sun, Jun 20, 1999 at 11:11:26PM +0200, Josip Rodin wrote:
> Hi!
> 
> Here are upstream comments on a bug against a package, hatman,
> that wouldn't compile on Debian Alpha. Please, somebody from
> the mailing list, help me fix this, preferably in form of patches,
> since I don't know C++... :(
  
  Patch attached... ;-)

  B.



--
B. Warmerdam                                              GNU/Debian Linux
bartw@xs4all.nl, bartw@debian.org (Keyid: 10A0FDD1)       ----------------
--- hatman-0.5.0.1/util/error.cc	Sun Feb 28 23:20:52 1999
+++ hatman-0.5.0.1-alpha/util/error.cc	Mon Jun 21 19:54:17 1999
@@ -31,9 +31,8 @@
 
 char* errStr = "UNDEFINED ERROR";
 
-static int printError(FILE* stream, const struct printf_info* info, va_list* app)
+static int printError(FILE* stream, const struct printf_info* info, const void *const *args)
 {
- (void)info; (void)app;
  if(!errStr)
   {
    fprintf(stream, "(no error)");
@@ -49,9 +48,9 @@
  return 0;
 }
 
-static int printErrnoString(FILE* stream, const struct printf_info* info, va_list* app)
+static int printErrnoString(FILE* stream, const struct printf_info* info, const void *const *args)
 {
- (void)info; (void)app;
+ (void)info;
  int i = errno;
  fprintf(stream, "%s", strerror(i));
  return(strlen(strerror(i)));

Reply to: