Bug#521622: gdc-4.1: struct layout not the same as gcc on i386

2009-03-28 Thread Peter De Wachter
Package: gdc-4.1 Version: 0.25-4.1.2-23.2 Severity: normal gdc on i386 inserts four bytes of padding in this struct (so that it's total size is 16 bytes), while gcc doesn't: struct test { int mode; double mu; }; According to http://www.digitalmars.com/d/1.0/abi.html, structs should conform "

Bug#521582: gdc-4.1: "circular initialization dependency" depending on link order

2009-03-28 Thread Peter De Wachter
Package: gdc-4.1 Version: 0.25-4.1.2-23.2 Severity: normal Torus Trooper (0.22.dfsg1-4) fails to start with this error message depending on the order in which the object files were linked: "Error: circular initialization dependency with module abagames.tt.shape" This command produces a working bi