Xref: utzoo comp.sys.sequent:99 comp.lang.c++:2108 Path: utzoo!attcan!uunet!husc6!uwvax!rutgers!sunybcs!sbcs!jdn From: jdn@sbcs.sunysb.edu (John Norden) Newsgroups: comp.sys.sequent,comp.lang.c++ Subject: CC on a Sequent Symmetry Keywords: C++ Sequent shared private Message-ID: <1858@sbcs.sunysb.edu> Date: 28 Nov 88 23:21:12 GMT Sender: news@sbcs.sunysb.edu Reply-To: jdn@sbcs.sunysb.edu (John Norden) Organization: State University of New York at Stony Brook Lines: 37 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