Variables too big (std.date (...) int day???)

Lionello Lunesu lio at lunesu.remove.com
Thu Feb 8 00:49:35 PST 2007


Sorry for not replying inline, but Thunderbird did not wrap the lines of 
your message, for some reason.

1) Bugzilla is the right place, although I would get some confirmation 
from Walter before you spend a lot of time on it. He's quite critical of 
patches for Phobos.

2) It depends whether that structure is used in other APIs, I guess. If 
it's a known windows/posix/dos structure, then you should leave it 
alone. If it's only used in Phobos you can change it, but remember the 
alignment rules: one ubyte in a struct with int does not solve anything 
and is better left int.

3) Yes, Walter reviews changes and, like I've said, he's pretty 
critical. Many patches have been made to Phobos, but only few have made 
it in. Most likely this is because he's a busy guy, so don't get mad if 
your patches don't make it into Phobos. You can always keep using your 
own Phobos (that's what I do ;). Or you can post your patches to the 
Tango project, they seem more "open" :)

L.



More information about the Digitalmars-d mailing list