[patch c++]: Fix warnings in decl2.c

Manuel López-Ibáñez lopezibanez@gmail.com
Wed Jun 30 23:29:00 GMT 2010


On 30 June 2010 23:28, Jason Merrill <jason@redhat.com> wrote:
> On 06/09/2010 10:53 AM, Kai Tietz wrote:
>>
>> 2010-06-09  Kai Tietz
>>
>>        * decl2.c (min_vis_r):
>>        (constrain_visibility):
>
> Odd ChangeLog entry :)
>
> I would rather fix these warnings by changing the type of the variable
> itself, but that looks to be complicated in this case, so I guess this patch
> is OK.

Are these valid warnings at all? The fact that we don't warn for this
in recent GCC either suggests that they are not or that we have
regressed in terms of diagnostics.

Manuel.



More information about the Gcc-patches mailing list