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: [C++ Patch] PR 51312


Hi,

On 08/07/2014 06:32 PM, Jason Merrill wrote:
On 08/07/2014 11:28 AM, Jason Merrill wrote:
-Wno-narrowing should prevent an error on enum27

Er, should *not*.
Ok. Probably at some point I should review which kind of diagnostics the various implementations emit: for example *for enum27.C* currently clang talks about *narrowing*, the kind of of diagnostics we emit from chech_narrowing; EDG instead produces a something closer to our error.

Anyway, if that's what we want, at least for the time being, I guess it's just matter of sending you what I essentially had yesterday, shorter, with the final check unmoved and the those two testcases not tweaked. Passes testing.

Thanks!
Paolo.

/////////////////////////

Attachment: patch_51312_2
Description: Text document


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