[Issue 12953] New: Wrong alignment number in error messages
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jun 19 21:07:44 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12953
Issue ID: 12953
Summary: Wrong alignment number in error messages
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: diagnostic
Severity: normal
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: k.hara.pg at gmail.com
This code:
align align void f1() {}
align align(1) void f2() {}
align(1) align void f2() {}
Will print following errors:
test.d(1): Error: redundant alignment attribute align(-1)
test.d(2): Error: conflicting alignment attribute align(-1) and align(1)
test.d(3): Error: conflicting alignment attribute align(1) and align(-1)
align(-1) is wrong.
--
More information about the Digitalmars-d-bugs
mailing list