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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Andrej Mitrovic <[email protected]> 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: -------