From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,86ec8761972a2323 X-Google-Attributes: gidfee84,public From: charette@ultoe.det.dec.com (Mark Charette) Subject: Re: Internal c89 error Date: 1995/10/11 Message-ID: <45fatr$o22@pms507.pms.ford.com>#1/1 X-Deja-AN: 117379405 references: <456442$b3i@eccdb1.pms.ford.com> organization: Ford Motor Company -- standard disclainers apply newsgroups: comp.unix.osf.osf1 Dan Pop (Dan.Pop@mail.cern.ch) wrote: : In <456442$b3i@eccdb1.pms.ford.com> charette@ultoe.det.dec.com (Mark Charette) writes: B : >Curiosity - why aren't you using cc -migrate or cc ? c89 is loaded for the : >older C++ compilers only because of compatibility issues. : Huh? As far as I can tell, c89 is simply a different front end to exactly : the same compiler. The main difference between cc and c89 is that one : invokes /usr/lib/cmplrs/cc/cfe with the -std0 option (extended K&R) and : the other with -std1 (ANSI). What am I missing? : The one which is loaded for the C++ compiler is named oldc89. My partial mistake. DEC C++ previously used the c89 compiler - it no longer does (as of V 5.0). c89 is now a front end to the cc command for compatibility with older makefiles using the c89 command. oldc89 is a very old C compiler that DEC will not support in the future - they recommend using cc -migrate. This is from the release notes in /usr/ccs/lib/cmplrs/cxx, where there are more gory details. -- Mark Charette charette@mika.com MIKA Systems, Inc 17197 N. Laurel Park Dr Suite 115 Livonia, MI 48152