Re: Again please no // comments !!!!!!!! - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Again please no // comments !!!!!!!!
Date
Msg-id 6128.973612391@sss.pgh.pa.us
Whole thread Raw
In response to Again please no // comments !!!!!!!!  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
List pgsql-hackers
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at> writes:
> This somehow gets moot. Is there a way to make gcc reject those comments ?

It looks like -ansi would cause gcc to reject // comments, but -ansi has
enough not-so-desirable side effects that I would vote against making
that switch part of our standard switch set for gcc.

I think we should continue to rely on our faithful community of testers
to find portability glitches like this one ;-)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: AW: AW: v7.0.3 *pre-release* ...
Next
From: Tom Lane
Date:
Subject: Issue NOTICE for attempt to raise lock level?