[Nut-upsdev] gcc4 compiler warnings

Kjell Claesson kjell.claesson at telia.com
Thu Feb 9 19:29:40 UTC 2006


Done for bcmxcp_ser.c. /Kjell

tor 2006-02-09 klockan 16:36 +0100 skrev Niklas Edmundsson:
> Hi all!
> 
> The following files emits warnings when compiled with gcc 4.0:
> al175.c
> bcmxcp_ser.c
> belkinunv.c
> cyberpower.c
> everups.c
> powercom.c
> solis.c
> 
> All warnings seem to be of this variety:
> everups.c:38: warning: pointer targets in passing argument 2 of 'ser_get_char' differ in signedness
> 
> I suggest that those who fiddles with those drivers fixes the warnings 
> and verifies that it works afterwards. I can provide the complete 
> buildlog if there's anyone that doesn't have access to a gcc4-equipped 
> machine.
> 
> /Nikke - prefers a noise free build output :)




More information about the Nut-upsdev mailing list