DOUG@ysub.ysu.edu (Doug Sewell) (01/23/91)
When 'make' hits the line 'cc -c -O -I. mthreads.c', it gets: >"./mthreads.h", line 61: syntax error (ignore the -I., its for a workaround due to some missing routines) Line 61 of mthreads.h is: >void dont_read_data(int); The call to dont_read_data() in mthreads.c is: >dont_read_data( data_file_open ); data_file_open is defined as a char earlier in mthreads.c. In mt_read.c, the parameter for dont_read_data is defined to be an int. I'm not sure what to change, since C isn't my 'strong' language. Any suggestions ? Has this happened to anyone else ? Our environment: NCR Tower 700, System V C-News Trn 1.0.2 (patch just applied) A couple of missing routines mthreads needs borrowed from C-news. Thanks in advance, Doug -- Doug Sewell, Tech Support, Computer Center, doug@ysub.bitnet Youngstown State University, Youngstown, OH 44555 doug@ysub.ysu.edu Go to jail. Go directly to jail. Do not pass GO. Do not collect $200.
tale@rpi.edu (David C Lawrence) (01/23/91)
All you have to do is wrap the "(int)" with the ANSI() macro at line 61 in mthreads.h. An apparent oversight by someone using an ANSI compiler. -- (setq mail '("tale@cs.rpi.edu" "tale@ai.mit.edu" "tale@rpitsmts.bitnet"))