From: murphy@dco.dec.com (Rick Murphy)
Subject: Re: Is cc broken on OSF/1 and ULTRIX?
Date: 12 Oct 1994 17:46:26 GMT [thread overview]
Message-ID: <37h7di$p9b@decuac.dec.com> (raw)
In-Reply-To: CxKC80.5xr@news.cern.ch
In article <CxKC80.5xr@news.cern.ch> 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.
next prev parent reply other threads:[~1994-10-12 17:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-10-12 14:00 Is cc broken on OSF/1 and ULTRIX? Dan Pop
1994-10-12 15:39 ` Ron Natalie
1994-10-13 15:29 ` Wayne Scott
1994-10-12 17:46 ` Rick Murphy [this message]
1994-10-12 22:35 ` Dan Pop
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox