This is the mail archive of the gcc-patches@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: Make declaration of wide_int_storage match its definition


On Sat, 5 Jul 2014, pinskia@gmail.com wrote:
> This patch is fine but c++ allows class and struct be used 
> interchangeable. If there is a compilers which does not it is broken 
> and should be report to them.  Yes that means clang is broken.

Clang does allow for it (it actually is the stage 1 compiler on 
FreeBSD 10, the platform I used for my tests); it just warns about 
it.  About 400 times.

That was just one, factor, though.  Declarations being consistent
with definitions stroke me as A Good Thing[tm] per se. :-)

Gerald


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