Hey guys,
        You may remember a few months ago I posted messages about
compiling on AIX. I finally got it working.. here's what I needed to do.
Note the function prototype for snprintf. Apparently the function exists
in libc, but there is no prototype for it in the system headers. At least,
I couldn't find it. strings.h was needed for bzero() and strncasecmp().

-Todd


The following was done to compile on AIX 4.2.1 with GCC 2.95.2

Add the following to BaseDisplay.cc

#include <strings.h>

Add the following to Screen.cc

extern "C" {
  extern int snprintf(char *, size_t, const char *, ...);
}
#include <strings.h>

Add the following to blackbox.cc
#include <strings.h>


__________________________________________________________________________
ICMP: The protocol that goes PING!    I like angles, but only to a degree.
cthread. cthread_fork(). Fork, thread, fork!             Black holes suck.
http://wckn.clarkson.edu/~cohentl/          Real_men_don't_need_spacebars.

Reply via email to