Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: wws@isp.isp.bellcore.com (Wayne Scott)
Subject: Re: Is cc broken on OSF/1 and ULTRIX?
Date: 13 Oct 1994 15:29:00 GMT	[thread overview]
Message-ID: <37jjns$980@athos.cc.bellcore.com> (raw)
In-Reply-To: 37h004$uql@topaz.sensor.com


In article <37h004$uql@topaz.sensor.com>, ron@topaz.sensor.com (Ron Natalie) writes:
|>Dan Pop (danpop@cernapo.cern.ch) wrote:
|>: 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.
|>
|>If you want standard behavior out of the DEC compiler, it behooves you
|>to turn on the -std1 flag.
|>
|>-Ron
|>


Be wary about using the "-std" option alone.
It sounds nice...the man page says:

"and -std enforces the ANSI C standard with popular extensions."

But I experienced very stange X/Motif behavior until
I switched to the "-std1" option.  Unfortunately, I could no longer
use "//" for comments.  I programmed the @ and # keys in vi so that
I could easily surround those lines with "/*" and "*/".  Bummer.

Wayne
-- 
----------------------------------------------
	wws@cc.bellcore.com
I'm just a soul whose intentions are good,
Oh Lord, please don't let me be misunderstood.


  reply	other threads:[~1994-10-13 15:29 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 [this message]
1994-10-12 17:46 ` Rick Murphy
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