🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Michael E. Hedman Tue, 12 Mar 1991 17:09
nn patch level 13 on an encore multimax system
#1456
Author: Michael E. Hedman
Date: Tue, 12 Mar 1991 17:09
29 lines
2002 bytes
I am not really sure to complain to on this matter, but I have submitted
this to "news.software.nn" and "comp.sys.encore".

We have an Encore Multimax system running UMAX 4.3, a bsd 4.3 system.
When compiling "nn", there are some unusual error messages from the
programs "answer.c" and  "save.c". These programs reference a variable
called "st_flag". The stock "c" compiler on the encore gives the following 
error messages:

	/usr/bin/cc -Iconf  -O -q optimize=time -c answer.c
"answer.c", line 464: warning: old-fashioned initialization
"answer.c", line 464: Illegal variable or expression
"answer.c", line 464: Type mismatch
"answer.c", line 464: Type mismatch
"answer.c", line 464: expected: ';' got: name
"answer.c", line 540: warning: illegal member use:  stu_flagu
"answer.c", line 586: warning: illegal member use:  stu_flagu
"answer.c", line 726: warning: illegal member use:  stu_flagu

The "gcc" c compiler gives similar error messages. You will notice that the 
error messages refer to something called "stu_flagu". This variable does not
exist. Looked like "st_flag" was being warped into something bad. Investigation
of encore's include files yielded the following macro definition in 
"/usr/include/sys/stat.h":

#define	st_flag		st_un.stu_flagu.stu_flag

For now, renaming the variable works.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads