This is the mail archive of the gcc-bugs@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]

[Bug c/61162] possibly bad error location with -Wc++-compat


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61162

--- Comment #7 from Tom Tromey <tromey at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #6)

> I'd prefer the RHS location here; it's the RHS that's being converted.

I was hoping to automate some conversion from C to C++ using
the error locations.
So from this perspective, something relatively consistent would be nice.
It could be the RHS or it could be the "=", for my purposes they
are equally good.  I tend to think of the "=" as being the "reason
for the conversion", but I wouldn't want to make any claims for it
beyond that.


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