pcp
[Top] [All Lists]

Problem with pmUnits in latest changes

To: pcp@xxxxxxxxxxx
Subject: Problem with pmUnits in latest changes
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue, 20 Oct 2009 06:49:16 +1100
Reply-to: kenj@xxxxxxxxxxxxxxxx
This commit is not quite correct.  I'll have the fix soon, but this is
just a heads up before this one escapes too far.

QA 027 (at least) is failing as a result.

Author: Max Matveev <makc@xxxxxxxxx>  2009-10-04 16:22:59
Committer: Max Matveev <makc@xxxxxxxxx>  2009-10-04 16:22:59
Parent: f1348ed0d10fe4bc3fdb304de6d8c6bb9de3549a (Increase table sizes for 
dbpmda's lexer)
Child:  0782dda37c047e3c24bcab8d9798bedf7713773c (Treat UDP overflows as 
counter)
Branches: dev, remotes/origin/dev
Follows: 2.7.7-20080924
Precedes: 

    Explicitly mark bitfield sign in pmUnits.
    
    SunStudio compiler treats bitfields marked as unadorned 'int' as
    unsigned (C99 standard leaves this area undefined) which means that
    dimTime of -1 becomes dimTime == 15. Marking the bitfields as 'signed'
    removes this ambiguity.
    
    pmUnits is the only bitfield which uses negative values.



<Prev in Thread] Current Thread [Next in Thread>
  • Problem with pmUnits in latest changes, Ken McDonell <=