[Issue 8474] New: bitfields doesn't work with bitfield over 31 bits
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Jul 30 11:02:00 PDT 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=8474
           Summary: bitfields doesn't work with bitfield over 31 bits
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-07-30 11:01:59 PDT ---
import std.bitmanip;
struct Foo
{
    mixin(bitfields!(
        uint, "bits1", 32,
    ));
}
void main() { }
std\bitmanip.d(76): Error: shift by 32 is outside the range 0..31
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list