Path: 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 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.