[Issue 1001] print stack trace (in debug mode) when program die
http://d.puremagic.com/issues/show_bug.cgi?id=1001 --- Comment #6 from BCS 2010-02-02 23:44:41 PST --- (In reply to comment #5) > The c function works, so it will work with dmd. It will work with extern C functions but something's ticking a memory that D functions aren't necessarily the same, or is that just the arguments layout? What the heck, I'll try it tomorrow and see if it works. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1001] print stack trace (in debug mode) when program die
http://d.puremagic.com/issues/show_bug.cgi?id=1001 Brad Roberts changed: What|Removed |Added CC||bra...@puremagic.com --- Comment #5 from Brad Roberts 2010-02-02 22:52:04 PST --- The c function works, so it will work with dmd. I've been meaning to hook the thing into the runtime for ages. It's easy to use. The only interesting trick is that the app needs to be linked with -rdynamic (check the man pages, this is off the top of my head from when I've done it at work). That'll likely require a minor tweak to dmd itself since it's what invokes the linker. It could probably be added to dmd.conf as an alternative. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1001] print stack trace (in debug mode) when program die
http://d.puremagic.com/issues/show_bug.cgi?id=1001 BCS changed: What|Removed |Added CC||shro8...@vandals.uidaho.edu --- Comment #4 from BCS 2010-02-02 22:40:41 PST --- does anyone know if the "backtrace" function from execinfo.h works with DMD/Linux? If it does, than that's the way to go. Heck, I've even got a blob of CPP code I'd give way that calls addr2line to get nice output. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1001] print stack trace (in debug mode) when program die
http://d.puremagic.com/issues/show_bug.cgi?id=1001 Sean Kelly changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Sean Kelly 2010-02-02 20:12:53 PST --- Flectioned doesn't work any more I'm afraid. A replacement would be welcome, though I may be able to sort something out quickly with the stuff in ucontext.h on *nix. Some platforms even have a backtrace call here, though output is fixed to a specific format. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1386] "string expected" when using allMembers-element in __traits(getMember, ...)
http://d.puremagic.com/issues/show_bug.cgi?id=1386 --- Comment #8 from Hoenir 2010-02-02 17:02:30 PST --- allMembers returns a tuple now (svn r360) but this still doesn't work. Yields a strange error. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3744] __traits getMember error in checking of second argument
http://d.puremagic.com/issues/show_bug.cgi?id=3744 iorlas changed: What|Removed |Added Priority|P2 |P4 Version|2.040 |2.041 Severity|blocker |minor --- Comment #9 from iorlas 2010-02-02 14:43:13 PST --- Changed priority, cuz now i can use one way to solve my problem. See code in prev msg. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3744] __traits getMember error in checking of second argument
http://d.puremagic.com/issues/show_bug.cgi?id=3744 --- Comment #8 from iorlas 2010-02-02 14:40:11 PST --- Maybe not a pure, but works(also, thx to eldar, qtd-developer): template Alias(T...){ //small hack, cuz directly alias dont want to work alias T Alias; } alias Alias!(__traits(allMembers, abc)) ABCMEMBS; //alias creates data as compile-time var void main(){ foreach(m;ABCMEMBS){ //now we can use it in compile-time writeln(m, ": ", typeid(typeof(__traits(getMember, abc, m; //all ok, cuz it's in compile-time } } class abc{ void foo(){ } int a,b,c; } We have this output: foo: void() a: int b: int c: int -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3764] New: Remove Phobos workarounds for fixed bugs
http://d.puremagic.com/issues/show_bug.cgi?id=3764 Summary: Remove Phobos workarounds for fixed bugs Product: D Version: 2.040 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: clugd...@yahoo.com.au --- Comment #0 from Don 2010-02-02 02:49:35 PST --- Workarounds to the following fixed compiler bugs appear in the Phobos source (grep for "@@@"). The workarounds can now be removed. 2340 2341 2597 2612 2674 2675 2725 3269 Additionally, bug 2130 has been resolved as "by design", so the comments about it should be removed from the source code. (There are still at least six unfixed compiler bugs that affect Phobos). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---