Re: Bit field issues in Solaris 2.8

From: Steve Harris (slharris_at_tpd.usa.alcatel.com)
Date: Thu Aug 14 2003 - 20:35:01 BST

  • Next message: Ian Edwards: "UPS 3.38-beta2 available"
  • Next message: jack: "We provide you the best quality lead acid batteries"
    Thanks Tom!
    
    I implemented your fix and the bitfields look and work great!
    
     Steve
    
    >
    >It was an endianess problem, and 3.37 does work as far as I can, at
    >least for bitfields based on 32 bit types. I don't believe it worked
    >for bitfields based on 16 bit types however, which is what my original
    >fix was all about (that and 64 bit bitfield support).
    >
    >Unfortunately my previous was wrong on big endian platforms. A fix has
    >just been committed to CVS and a patch against CVS is attached.
    >
    >Tom
    >
    >-- 
    >Tom Hughes (thh_at_cyberscience.com)
    >Software Engineer, Cyberscience Corporation
    >http://www.cyberscience.com/
    >
    


    This archive was generated by hypermail 2.1.4 : Mon Aug 18 2003 - 10:09:10 BST