[Issue 9931] Bus error interfacing with C function returning structs with floats

2013-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9931 --- Comment #4 from Jacob Carlborg 2013-04-14 23:38:54 PDT --- (In reply to comment #3) > NSRect foo (id screen) > { > alias extern (C) NSRect function (id, SEL) frameFp; > auto fp = cast(frameFp) &objc_msgSend_stret; > return fp(sc

[Issue 9934] New: template default argument should be semantically analysed

2013-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9934 Summary: template default argument should be semantically analysed Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal

[Issue 2803] template + default argument = doesn't work

2013-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2803 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #2 from Martin

[Issue 9931] Bus error interfacing with C function returning structs with floats

2013-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9931 --- Comment #3 from Martin Nowak 2013-04-14 16:56:04 PDT --- NSRect foo (id screen) { alias extern (C) NSRect function (id, SEL) frameFp; auto fp = cast(frameFp) &objc_msgSend_stret; return fp(screen, sel_registerName("visibleFrame"

[Issue 9926] Add the `let` function.

2013-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9926 --- Comment #3 from IdanArye 2013-04-14 15:28:32 PDT --- (In reply to comment #2) > In Haskell I prefer to use "where". The top-down approach offered by "where" > feels more clear to me. Well, it's a matter of both taste and circumstances, but

[Issue 4705] Redesign of std.algorithm.max()/min() + mins()/maxs()

2013-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4705 --- Comment #16 from bearophile_h...@eml.cc 2013-04-14 14:23:35 PDT --- I still think mins()/maxs() are useful. But years after the original proposal an API change in max/min is now problematic (unless you want to introduce maximum/minimum funct

[Issue 9931] Bus error interfacing with C function returning structs with floats

2013-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9931 Jacob Carlborg changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Issue 9932] New: CTFE cannot be used when a struct has "uninitialized" static array union members?

2013-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9932 Summary: CTFE cannot be used when a struct has "uninitialized" static array union members? Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 9933] New: Vector operations cannot be nothrow

2013-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9933 Summary: Vector operations cannot be nothrow Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD

[Issue 9931] Bus error interfacing with C function returning structs with floats

2013-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9931 Martin Nowak changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 9931] New: Bus error interfacing with C function returning structs with floats

2013-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9931 Summary: Bus error interfacing with C function returning structs with floats Product: D Version: D2 Platform: x86 OS/Version: Mac OS X Status: NEW Severit

[Issue 9930] New: Disallow accessing enum members through enum instance

2013-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9930 Summary: Disallow accessing enum members through enum instance Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 9540] Compiler crash on delegate context frame assignment

2013-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9540 Dmitry Olshansky changed: What|Removed |Added CC||dmitry.o...@gmail.com --- Comment #

[Issue 9920] [Optimizer] Use mul/imul for integer division by constant

2013-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9920 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com Ver