Article View: gnu.gcc.help
Article #52960Re: double slash comment possible?
From: Mike Allen
Date: Wed, 25 Mar 1992 20:33
Date: Wed, 25 Mar 1992 20:33
22 lines
1644 bytes
1644 bytes
>>>>> On Wed, 25 Mar 92 19:27:33 GMT, tnt@netcom.com (Terry Turner) said: In article <TNT.92Mar25112733@netcom.com> tnt@netcom.com (Terry Turner) writes: Terry> is it possible to use // as a comment with gcc? Terry> my man makes no mention of a switch to allow this. Terry> i am trying to do the following: Terry> gcc -MM t.c Terry> and get an error on a #include line with // on it. gcc assumes that a file that ends in '.c' is a C program, and the // syntax is C++. Try "gcc -xc++ -MM t.c" -- =============================================================================== German Chancellor Helmut Kohl, on the inauguration of Germany's first Holocaust memorial, saying Germans must never forget Nazi atrocities: ``(We) owe it to our children and grandchildren. We must pass on to them the realization that it is not at all self-evident that one should be allowed to live in peace and freedom.''
Technical Details
Message-ID:
<ALLEN.92Mar25143356@golem.ssc.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!linac!sunova!sunova.ssc.gov!allenReferences:
<TNT.92Mar25112733@netcom.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,a2c934f3b9ab9ed8 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-03-25 12:33:56 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!sunova!sunova.ssc.gov!allen From: allen@golem.ssc.gov (Mike Allen) Subject: Re: double slash comment possible? In-Reply-To: tnt@netcom.com's message of Wed, 25 Mar 92 19:27:33 GMT Message-ID: <ALLEN.92Mar25143356@golem.ssc.gov> Sender: usenet@sunova.ssc.gov (News Admin) Nntp-Posting-Host: golem.ssc.gov Reply-To: Michael_Allen@ssc.gov Organization: SSC Laboratory, Dallas, TX References: <TNT.92Mar25112733@netcom.com> Distribution: gnu Date: Wed, 25 Mar 1992 20:33:56 GMT