[Issue 7938] Stack overflow/access violation when throwing exceptions from fibers

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7938 --- Comment #5 from Andrew Lauritzen 2012-04-18 22:07:53 PDT --- Hmm so interestingly I can only seem to repro the access violation portion of this when breaking in the debugger, and since I'm using VisualD, etc. for that this may not actually

[Issue 7938] Stack overflow/access violation when throwing exceptions from fibers

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7938 --- Comment #4 from Andrew Lauritzen 2012-04-18 21:46:38 PDT --- Upon some further messing around, I'm starting to wonder whether this has something to do with placing breakpoints as well. I've definitely seen issues without that, but in the s

[Issue 7941] New: Regression(2.059): Type check is ignored when manifest constant initializer is function literal

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7941 Summary: Regression(2.059): Type check is ignored when manifest constant initializer is function literal Product: D Version: D2 Platform: All OS/Version: All Status

[Issue 7854] Non-C attributes allowed on extern(C) function parameters

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 --- Comment #14 from Don 2012-04-18 21:29:37 PDT --- (In reply to comment #13) > (In reply to comment #12) > > > > But C doesn't HAVE a calling convention for non-C types! > > > > extern(C) void foo( void delegate() dg) > > DOES NOT MAKE SENS

[Issue 7938] Stack overflow/access violation when throwing exceptions from fibers

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7938 --- Comment #3 from Andrew Lauritzen 2012-04-18 21:28:03 PDT --- Hmm yeah that was a portion pasted into a large file - should have been independent, but here we go with a separately tested case: import core.thread; import std.stdio; class A

[Issue 7938] Stack overflow/access violation when throwing exceptions from fibers

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7938 Don changed: What|Removed |Added CC||clugd...@yahoo.com.au --- Comment #1 from Don 2

[Issue 7938] Stack overflow/access violation when throwing exceptions from fibers

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7938 --- Comment #2 from Don 2012-04-18 21:13:59 PDT --- I can't reproduce this. If I wrap the example in this import core.thread; void main() { ...code from comment 0... } it works fine. But maybe that's different to what you've done. Please pr

[Issue 7940] New: CTFE breaks

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7940 Summary: CTFE breaks Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: DMD AssignedT

[Issue 7878] A problem with purity and general templated algorithms

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7878 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #3 from Kenji Hara 2012

[Issue 7939] New: Assigning to Object strips away const

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7939 Summary: Assigning to Object strips away const Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Comp

[Issue 7418] Overloading doesn't work with aliases declared inside templates

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7418 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 7938] New: Stack overflow/access violation when throwing exceptions from fibers

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7938 Summary: Stack overflow/access violation when throwing exceptions from fibers Product: D Version: D2 Platform: All OS/Version: Windows Status: NEW Severit

[Issue 7418] Overloading doesn't work with aliases declared inside templates

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7418 --- Comment #2 from github-bugzi...@puremagic.com 2012-04-18 15:46:09 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/85d53d2ae46190f3fe5a1788594b15ee4cb7f0f

[Issue 7933] Illegal interaction of templates

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7933 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 7933] Illegal interaction of templates

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7933 --- Comment #2 from github-bugzi...@puremagic.com 2012-04-18 12:00:50 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ec4041f49357544c1cb5406baf678efcaccae5b

[Issue 7937] New: Range iota.Result should be const where possible

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7937 Summary: Range iota.Result should be const where possible Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 7854] Non-C attributes allowed on extern(C) function parameters

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 --- Comment #13 from Steven Schveighoffer 2012-04-18 11:23:14 PDT --- (In reply to comment #12) > > But C doesn't HAVE a calling convention for non-C types! > > extern(C) void foo( void delegate() dg) > DOES NOT MAKE SENSE. It's not C, it's

[Issue 7854] Non-C attributes allowed on extern(C) function parameters

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 --- Comment #12 from Don 2012-04-18 10:59:56 PDT --- (In reply to comment #11) > (In reply to comment #10) > > (In reply to comment #9) > > > No. An extern(C) function does not mean it's a C function. It just > > > means it > > > has C linka

Re: Cast Object - get null

2012-04-18 Thread Namespace
On Wednesday, 18 April 2012 at 16:34:08 UTC, bearophile wrote: Namespace: Vector2D is my own class. If i compare vs2 with vs it works fine, but if i compare vs or vs2 with vf, the cast fail and i get a null-reference. How can i avoid this? I suggest to ask such questions in D.learn. Bye, be

Re: GLUT glutCreateWindow error

2012-04-18 Thread Vladimir Panteleev
On Wednesday, 18 April 2012 at 12:01:58 UTC, Steven Schveighoffer wrote: Brad, can we once and for all close this list to general posts? It was posted via the forum (web interface), so it's my fault. The proper place to fix it for all forum/newsreader/mailing-list users would be the NNTP serv

Re: Cast Object - get null

2012-04-18 Thread bearophile
Namespace: > Vector2D is my own class. If i compare vs2 with vs it works fine, > but if i compare vs or vs2 with vf, the cast fail and i get a > null-reference. How can i avoid this? I suggest to ask such questions in D.learn. Bye, bearophile

Re: Cast Object - get null

2012-04-18 Thread Namespace
I forget my test context: void main() { alias Vector2D!(short) Vector2s; alias Vector2D!(float) Vector2f; Vector2f vf = Vector2f(23, 42); Vector2s vs = Vector2s(vf); writefln("vs.x: %d, vs.y: %d", vs.x, vs.y); Vec

Cast Object - get null

2012-04-18 Thread Namespace
override bool opEquals(Object o) const { if (o is null) { return false; } writeln(o); // write: cast.Vector2D!(float).Vector2D Vector2D!(T) vec = cast(Vector2D!(T)) o; writeln(vec); // write: null // ... It

[Issue 7854] Non-C attributes allowed on extern(C) function parameters

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7854 --- Comment #11 from Steven Schveighoffer 2012-04-18 05:21:34 PDT --- (In reply to comment #10) > (In reply to comment #9) > > No. An extern(C) function does not mean it's a C function. It just means > > it > > has C linkage. See here: htt

Re: GLUT glutCreateWindow error

2012-04-18 Thread Steven Schveighoffer
On Wed, 18 Apr 2012 03:27:45 -0400, DAS_888 wrote: When I'm trying to create GLUT Window via DMD 2.059 compilation of my code, I'm getting an error: freeglut ERROR: Internal error in function fgOpenWindow X Error of failed request: BadWindow (invalid Window parameter) Major opcode

[Issue 7932] Corrupted argument inside out contract in x86_64

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7932 Don changed: What|Removed |Added Severity|normal |critical -- Configure issuemail: http://d.purem

[Issue 7932] Corrupted argument inside out contract in x86_64

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7932 Don changed: What|Removed |Added Version|D1 |D1 & D2 Summary|Corrupted argument ins

GLUT glutCreateWindow error

2012-04-18 Thread DAS_888
When I'm trying to create GLUT Window via DMD 2.059 compilation of my code, I'm getting an error: freeglut ERROR: Internal error in function fgOpenWindow X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 4 (X_DestroyWindow) Resource id

[Issue 6758] std.c.stdarg problems with 8 or more integer arguments on x86_64

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6758 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6758] std.c.stdarg problems with 8 or more integer arguments on x86_64

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6758 --- Comment #13 from github-bugzi...@puremagic.com 2012-04-18 00:17:24 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f87c43317a97b75c69639499a6445b82415739a

[Issue 6758] std.c.stdarg problems with 8 or more integer arguments on x86_64

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6758 --- Comment #12 from github-bugzi...@puremagic.com 2012-04-18 00:08:21 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6b5485754868204358b1160b1a9515953d0ed6b

[Issue 6758] std.c.stdarg problems with 8 or more integer arguments on x86_64

2012-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6758 --- Comment #11 from github-bugzi...@puremagic.com 2012-04-18 00:08:06 PDT --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/71c0d29d66c3fe946e1a714eef8098e6ad3dd3