[Nut-upsdev] gcc4 compiler warnings
Kjell Claesson
kjell.claesson at telia.com
Sat Feb 11 11:05:18 UTC 2006
Bump this to the list:
fre 2006-02-10 klockan 18:28 -0400 skrev Peter Selinger:
> OK, that "unsigned char" patch is now committed. As a result, the
> following drivers are in need of attention to reduce the gcc4 warning
> clutter:
>
> belkin.c
> cyberpower.c
> tripplite.c
> etapro.c
> tripplitesu.c
> metasys.c
> bestfcom.c
> solis.c
> al175.c
>
> I suggest that the respective maintainers have a look and adjust the
> types as necessary, making sure the drivers still work. In each case,
> an easy solution is to put typecasts on certain function calls; but in
> many cases, it makes sense to simply declare variables as unsigned
> char.
>
> -- Peter
>
>
> > fre 2006-02-10 klockan 11:29 -0400 skrev Peter Selinger:
> > > Gentlemen,
> > >
> > > attached my proposed changes. I figured, since we discussed them
> for
> > > so long, it might be a good idea to let you see them before I
> commit.
> > > [...]
>
More information about the Nut-upsdev
mailing list