I'm having some problems compiling nmh-0.2{6,7} on aix3.2.5. I think
it's a gcc thing, but I was wondering if someone else has successfully
compiled nmh on an aix3.2.5 machine. Here is what I get using gcc 2.7.2.2:
gcc -c -DHAVE_CONFIG_H -I.. -I../../../nmh-0.27/uip -I../../../nmh-0.27 -O2
../../
../nmh-0.27/uip/mshcmds.c
../../../nmh-0.27/uip/mshcmds.c:63: conflicting types for `getws'
/usr/intel/97r1.1/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.7.2.2/include/stdio.h:365:
pre
vious declaration of `getws'
gmake[1]: *** [mshcmds.o] Error 1
gmake: *** [all-recursive] Error 1
This same code works fine on other architecture. According to the man
page, getws is defined as:
wchar_t *getws (WString)
wchar_t *WString;
Just rename all occurrences of getws to nmh_getws. It looks like
getws() is a wide character version of gets.
--
Richard Coleman
coleman(_at_)math(_dot_)gatech(_dot_)edu