This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: gold patch committed: Build fixes for clang


Andrew Pinski <pinskia@gmail.com> writes:

> These fixes are not really needed for standard C++ compiler.
> Since struct and class are interchangeable there.
> I think it was a bad decision on clang's part to say they are different.

I suppose I don't really care either way.

> Though can you figure out why GCC does not warn/error out about the
> do_is_defined_by_abi change?

I don't have clang installed, but the code is valid.  GCC issues a
warning with the -Woverloaded-virtual option, but that warning is not
part of -Wall.  I assume that clang is issuing the equivalent warning.

Personally I think it would make sense to -Woverloaded-virtual to -Wall.

Ian


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