🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.sequent
1 messages
1 total messages Started by John Norden Mon, 28 Nov 1988 23:21
CC on a Sequent Symmetry
#716
Author: John Norden
Date: Mon, 28 Nov 1988 23:21
37 lines
1974 bytes

I am trying to use AT&T's C++ (CC) on a Sequent Symmetry.
Sequent C uses type constructs shared and private.  These are
not understood by CC and cause an error.   

This is a sample two lines of code:
		shared int x;
		main(){;}
This is the error message:

CC xx.C 
CC  xx.C:
"xx.C", line 1: error: ';' missing after statement or declaration before" 
	type name"
"xx.C", line 1: error:  type expected for shared
2 errors


If shared keyword is removed then it compiles.  Is there anyone that
could suggest a work around to this problem.  Also if any one has insight 
in how types shared and private are declared.  I think the simplest
work around would be to let CC know there is a type shared. 


		_John

______________________________________________________________________________
John D. Norden             | jdn@sbcs.sunysb.edu                      INTERNET
Dept. of Computer Science  | jdn@suny-sb                                 CSNet
SUNY at Stony Brook        | {allegra,philabs,pyramid,research}!sbcs!jdn  UUCP
Stony Brook, NY 11794-4400 | (516) 632-7677 or 632-4569                  Voice
------------------------------------------------------------------------------
_______________________________________________________________________________
John D. Norden             | jdn@sbcs.sunysb.edu                       INTERNET
Dept. of Computer Science  | jdn@suny-sb                                  CSNet
SUNY at Stony Brook        | {allegra,philabs,pyramid,research}!sbcs!jdn   UUCP
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