Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!caip!clyde!cbatt!ihnp4!drutx!druhi!lbl From: lbl@druhi.UUCP (LocklearLB) Newsgroups: net.lang.c++,net.micro.atari16 Subject: Re: C++ preprocessor wanted Message-ID: <1117@druhi.UUCP> Date: Thu, 9-Oct-86 11:54:48 EDT Article-I.D.: druhi.1117 Posted: Thu Oct 9 11:54:48 1986 Date-Received: Fri, 10-Oct-86 03:46:25 EDT References: <2939@sdcc6.ucsd.EDU> <429@vaxb.calgary.UUCP> Organization: AT&T Information System Labs, Denver, Co Lines: 32 Keywords: Atari C-source Summary: a small clarification Xref: mnetor net.lang.c++:363 net.micro.atari16:2432 In article <429@vaxb.calgary.UUCP>, brinsmead@calgary.UUCP (Mark Brinsmead) writes: > In article <2939@sdcc6.ucsd.EDU>, ix181@sdcc6.ucsd.EDU (John Ogawa) writes: > > I am an avid C++ fan who is about to get an Atari 1040ST and a C > > package. My question is: is there any way to get a C++ package for > > the 1040? Alternately, is there any C source code for CC that I can > > get my hands on? > > I am afraid this is unlikely. All C++ compilers I am aware of > (i.e. AT&T's) are actually fancy preprocessors that spit out rather > wild looking C. If CC is to work on an atari, your ATARI C compiler > must (and i mean MUST) be able to cope with *ARBITRARILY* long > identifiers. > > I am not aware of any C compiler for the atari ST that will suffice, > (my own Lattice C compiler nmormally uses only the first 8 characters, > and will in any event, use at most 32 characters of an identifier. > This is probably not enough for C++. ) > > M. Brinsmead @ Univewrsity of Calgary. If your compiler is capable of handling 32 character variable names, you should normally not have any problems with using C++. There may be isolated cases where problems would occur, but the names that the C++ compiler generates are usually unique in the first 32 characters. Of course, it would be nice if one of the C vendors for the ST would provide a true flexname capability. It really isn't very difficult to do! Barry Locklear AT&T Information Systems Labs Denver, CO 80234 (303) 538-4954 ihnp4!drutx!druhi!lbl