[Nut-upsdev] gcc4 compiler warnings

Kjell Claesson kjell.claesson at telia.com
Fri Feb 10 09:56:05 UTC 2006


fre 2006-02-10 klockan 09:53 +0100 skrev Niels Baggesen:
> On Thu, Feb 09, 2006 at 04:36:00PM +0100, Niklas Edmundsson wrote:
> > 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
> 
> Now we are at it, could someone re-import the nitram driver with proper
> line endings? My trusty gcc 2.95 gets hiccups from the continuationlines
> with the added \r
> 
> Also, the al175 has some c++ style declarations in the middle of the
> code blocks and some non-conforming %lf format specifiers, and gendb has
> a csh style redirection that a true sh does not like. I have attached
> patches for those.

It's in the cvs (develop). Also reinported the nitram driver with unix 
style line ending's.

Btw have you done any changes to the pwmib.h for the 3phase Niels ?

/Kjell





More information about the Nut-upsdev mailing list