vangestel dirk sf900 4319 <gesteld_at_sebb.bel.alcatel.be> writes:
> 
> 
> Hi!
> 
> I just tried (well, am trying :-) this new version. I had a problem building
> it under SunOS4, since it doesn't seem to know strerror (used in fvwm/builtin.c).
> I had to remove this call, and it built without a problem.
> 
there should be a 
        char * strerror(int errnum) for ANSI C
but many old headers just define the following:
---------------------------------
NAME
     perror, errno - system error messages
SYNOPSIS
     void perror(s)
     char *s;
     #include <errno.h>
     int sys_nerr;
     char *sys_errlist[];
     int errno;
--------------------------------
so a 
        #define strerror(e) sys_errlist[e] 
would be cool for those compilers (here it's gcc 2.6)
albrecht
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Apr 16 1996 - 07:55:13 BST