[comp.sys.amiga] Amiga NetHack 3p7 amiwbench.c compile problem

bryan@cs.utexas.edu (Bryan Bayerdorffer @ Wit's End) (03/02/90)

	Here's another one:  I ran into a minor problem compiling the Amiga
workbench code using Lattice 5.04.  Part of amiwbench.c looks like this:

#include "hack.h"

.
.
.

#ifdef LATTICE
#include <strings.h>
...
#endif

	It turns out that hack.h causes <stdlib.h> to be included.  the
external defs for the memory functions (memccpy, etc.) have argument types that
differ from those in strings.h, where these functions are also declared.
Buzzzzzz... Error 72: External item attribute mismatch.
	Since these functions aren't used, I got around this by making a copy
of strings.h, deleting the external defs for the memory functions, and
including this new file in place of strings.h

Anybody else have this problem?  Did I not R some part of TFM?  I know this can
happen to *other* people, but...  :-)