This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: resolving backslash newline whisky tango foxtrot: a proposal


Joe Buck wrote:
So you want the compiler to only consider '\\$" a continuation,

Not my preference, but that is my proposal, in the interest of compatibility.

but to have an unsilenceable warning about '\\ *$'?

Not unsilenceable - but on-by-default. It could be silenced with an explicit -Wno-comment. (Or whatever mechanism we use to control warnings.)

The point is that since it's silly and dangerous to depend on
trailing whitespace, and it's normally a mistake, we should
warn about it even without -Wall, but if people really want to
live dangerously they can turn it off.

That would appear not to
solve the problem of the customers who are wedded to their line art,
that started this discussion in the first place.

They can use -Wno-comment. -- --Per Bothner per@bothner.com http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]