🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52958

double slash comment possible?

#52958
From: Terry Turner
Date: Wed, 25 Mar 1992 19:27
11 lines
690 bytes
is it possible to use // as a comment with gcc?
my man makes no mention of a switch to allow this.

i am trying to do the following:

	gcc -MM t.c

and get an error on a #include line with // on it.
-- 
terry
	tnt@netcom.com
Technical Details
Message-ID: <TNT.92Mar25112733@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!netcomsv!mork!tnt

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,a2c934f3b9ab9ed8,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-03-25 11:27:33 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!netcomsv!mork!tnt
From: tnt@netcom.com (Terry Turner)
Subject: double slash comment possible?
Message-ID: <TNT.92Mar25112733@netcom.com>
Date: Wed, 25 Mar 92 19:27:33 GMT
Organization: Watch the Skies
Distribution: gnu