🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6196

Re: Handling `//' Comments

#6196
From: Eli Zaretskii
Date: Tue, 09 Jan 1996 00:00
11 lines
1002 bytes
On 8 Jan 1996, root wrote:

> One of the nuisances in porting Dos/Windows code to Unix is that gcc
> expects traditional `/* ... */' comments and most newer Dos and Windows
> code uses `//'.  What is needed is either a minor extension to gcc in

What is needed is careful study of the docs, IMHO.  Gcc already has an 
option to do this: use the `-Wa,-lang-c-c++-comments' switch to gcc.  I 
think that latest versions of gcc (2.7.x) support this with even less 
hassle, but I'm not sure.  The above switch works with gcc 2.6.3.
Technical Details
Message-ID: <Pine.SUN.3.91.960109081301.13248K-100000@is>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <slrn4f2qhl.52.root@tailor.roman.org>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,d3e08d750416e018
X-Google-Attributes: gid113d02,public
From: eliz@is.elta.co.il (Eli Zaretskii)
Subject: Re: Handling `//' Comments
Date: 1996/01/09
Message-ID: <Pine.SUN.3.91.960109081301.13248K-100000@is>
X-Deja-AN: 134573128
distribution: gnu
sender: daemon@cis.ohio-state.edu
references: <slrn4f2qhl.52.root@tailor.roman.org>
organization: GNUs Not Usenet
newsgroups: gnu.gcc.bug