Re: [PATCH 04/15] mount.nfs: Eliminate compiler warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/11/2010 12:18 PM, Chuck Lever wrote:
> 
> On Oct 11, 2010, at 9:32 AM, Steve Dickson wrote:
> 
>>
>>
>> On 10/10/2010 08:04 PM, Chuck Lever wrote:
>>> Clean up.
>>>
>>> fstab.c: In function ‘lock_mtab’:
>>> fstab.c:385: warning: declaration of ‘errsv’ shadows a previous local
>>> fstab.c:367: warning: shadowed declaration is here
>>> fstab.c:407: warning: declaration of ‘errsv’ shadows a previous local
>>> fstab.c:367: warning: shadowed declaration is here
>>> fstab.c:417: warning: declaration of ‘tries’ shadows a previous local
>>> fstab.c:325: warning: shadowed declaration is here
>>> fstab.c:422: warning: declaration of ‘errsv’ shadows a previous local
>>> fstab.c:367: warning: shadowed declaration is here
>> Could you please post the gcc flags you using to generate 
>> theses warnings... These warnings are not being generated with
>> the default gcc flags we are currently using... 
> 
> Since I've already privately sent you the compiler flags I use, 
> would you like me to repost all of these compiler warning patches 
> with the compiler command line options listed in the patch descriptions?
No... I'll just dig out those flags you sent me..

> 
> You can probably see the warnings fixed in this particular patch with "-Wshadow"
Thanks... I'll give that a try...

steved.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux