[Nut-upsdev] gcc4 compiler warnings

Niklas Edmundsson nikke at acc.umu.se
Thu Feb 9 15:36:00 UTC 2006


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 :)
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     nikke at acc.umu.se
---------------------------------------------------------------------------
  "42? 7 and a half million years and all you can come up with is 42?!"
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



More information about the Nut-upsdev mailing list