From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,fedbd18693809193 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-10-13 12:18:41 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!yeshua.marcam.com!charnel.ecst.csuchico.edu!olivea!decwrl!pa.dec.com!decuac.dec.com!murphy From: murphy@dco.dec.com (Rick Murphy) Newsgroups: comp.sys.dec Subject: Re: Is cc broken on OSF/1 and ULTRIX? Date: 12 Oct 1994 17:46:26 GMT Organization: Digital Equipment Corporation, Landover MD Message-ID: <37h7di$p9b@decuac.dec.com> References: NNTP-Posting-Host: rhmosf.dco.dec.com In article danpop@cernapo.cern.ch (Dan Pop) writes: >c89 does the right thing, but cc doesn't. C++ style comments are not >supported by either K&R or ANSI C and this feature (I'd call it bug) >is not documented in the man page. See the c preprocessor manpage - The cpp preprocessor accepts C++-style end of line comments (//). This means that everything following the two slashes (//) to the end of the line in which they appear is considered as a comment. >cc on AIX, Solaris, SunOS, IRIX, HPUX and Domain/OS behaves correctly. >Will DEC fix its cc? See above. Using cc -std1 works `correctly' as well. -Rick -- Rick Murphy, WA1SPT/4 Washington Federal Programs Office Domain: murphy@dco.dec.com Technical Support Group Bang: decwrl!burfle.enet!murphy This posting expresses MY opinions only; Ding: 301-306-2040. I do not speak for Digital.