Subject: Re: trouble compiling LambdaMOO 1.7.0

From: Steven Charlton <[email-masked]>
Date: Thu, 29 Oct 1992 17:50:07 -0800

I have experienced the same problem. My system configuration follows:

	Sun 3/60   SunOS 4.1.1 
	gcc-2.2.2  (properly installed WITH fixincludes)
	
	NS_BSD and NP_TCP (ie. no changes to options.h)

Using the posted 
  #undef NDECL_MEMSET
fixes the first error, and adding
  #define volatile
  #define signed
fixes the second and subsequent errors.  After these fixes, things seem to
compile ok.  It even seems to run ok!  I'm not certain what effect #def'ing
volatile will have, but no big glareing error present themselves upon running
and connecting.
	Steve

---

From: Pavel Curtis <[email-masked]>
Date: Thu, 29 Oct 1992 18:07:06 -0800

> Date:	Thu, 29 Oct 1992 17:50:07 -0800
> From:	Steven Charlton <[email-masked]>
> 
>   #define volatile
>   #define signed
> fixes the second and subsequent errors.

It's probably better to say this, instead:

	#define volatile __volatile__
	#define signed __signed__

The problem is that `configure' thinks that it's necessary to use the
-traditional flag with GCC and that turns off support these two ANSI keywords.
However, GCC still supports its `hidden' aliases for the keywords, the ones
with double underscores before and after.

I'll have a fix in the code for these problems in the next release.

	Pavel