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-14 12:38:37 PST Path: bga.com!news.sprintlink.net!sundog.tiac.net!wizard.pn.com!Germany.EU.net!EU.net!uunet!athos.cc.bellcore.com!isp.isp.bellcore.com!wws From: wws@isp.isp.bellcore.com (Wayne Scott) Newsgroups: comp.sys.dec Subject: Re: Is cc broken on OSF/1 and ULTRIX? Date: 13 Oct 1994 15:29:00 GMT Organization: Bellcore Distribution: world Message-ID: <37jjns$980@athos.cc.bellcore.com> References: <37h004$uql@topaz.sensor.com> Reply-To: wws@cc.bellcore.com NNTP-Posting-Host: isp.bellcore.com X-Newsreader: mxrn 6.18-6 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.