Article View: comp.std.c
Article #1378Re: warning: '/*' within comment
From: Doug Gwyn
Date: Sun, 03 Jun 1990 20:24
Date: Sun, 03 Jun 1990 20:24
18 lines
1290 bytes
1290 bytes
In article <1990Jun1.200433.6919@druid.uucp> darcy@druid.UUCP (D'Arcy J.M. Cain) writes: >However I got the same warning. Is there anything in the standard that >allows the compiler to ignore the quotes while inside a comment. There is nothing in the standard that prohibits an implementation from blathering even about the most perfect, portable code. >After all, quotes are required to be balanced. No, they are not, and especially not within a comment. My advice to you is to tell your compiler vendor that you don't appreciate gratuitous warning messages, and that /* stuff; /* comment */ is a fairly common usage for avoiding code generation when the programmer wants to indication an operation that would normally be necessary, but fortuitously happens to be already taken care of in a particular case.
Technical Details
Message-ID:
<13040@smoke.BRL.MIL>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!pacbell!pacbell.com!mips!bridge2!jarthur!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwynReferences:
<1990Jun1.200433.6919@druid.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!pacbell!pacbell.com!mips!bridge2!jarthur!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: warning: '/*' within comment Message-ID: <13040@smoke.BRL.MIL> Date: 3 Jun 90 20:24:13 GMT References: <1990Jun1.200433.6919@druid.uucp> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 18