Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 1996 20:49:16 -0700
From:      Sean Kelly <kelly@yarmouth>
To:        wsantee@wsantee.oz.net
Cc:        questions@freebsd.org
Subject:   Re: cc in FreeBSD
Message-ID:  <9602220349.AA15951@emu.fsl.noaa.gov>
In-Reply-To: <199602220041.QAA04043@wsantee.oz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Wes" == "Wes Santee" <wsantee@wsantee.oz.net> writes:

    Wes> Not sure if this question is apropos for the Questions list,
    Wes> but is there a switch in the cc for FreeBSD (gcc 2.6.3, looks
    Wes> like) that allows C++-style comments in a C source file?

I don't think there's *any* gcc option to allow // comments in a C
file.  You could try sed'ing all the source files to convert them to
/*...*/ style comments.

Or just use c++ instead of cc.  (And then let the fun begin!)

-- 
Sean Kelly
NOAA Forecast Systems Laboratory, Boulder Colorado USA

I can see why it would be prohibited to throw most things off the top of the
Empire State Building, but what's wrong with little bits of cheese?  They
probably break down into their various gases before they even hit.
	-- Deep Thoughts, by Jack Handey



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9602220349.AA15951>