[Issue 5573] New: Compiler (not linker) should generate an error for missing main()

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5573 Summary: Compiler (not linker) should generate an error for missing main() Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Sev

[Issue 5573] Compiler (not linker) should generate an error for missing main()

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5573 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Com

D2 dynamic array on Win32 exception

2011-02-14 Thread Gleb
Hello, void main() { int[][5] a; a[0][0] = 1; } Compiling this code compiler (D 2.051, Win32) generates an error: core.exception.RangeError@aaa(4): Range violation With D v.1 it's all rigth. I guess it's a bug in D v.2

Re: D2 dynamic array on Win32 exception

2011-02-14 Thread bearophile
Gleb: > void main() > { > int[][5] a; > a[0][0] = 1; > } > > Compiling this code compiler (D 2.051, Win32) generates an error: > core.exception.RangeError@aaa(4): Range violation > > With D v.1 it's all rigth. I guess it's a bug in D v.2 Are you sure it is not a bug on D1? For furth

[Issue 2846] box arguments should be const

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2846 Don changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 2874] phobos docs issues

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2874 Lars T. Kyllingstad changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Issue 4464] std.range.take does not always return Take!R

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4464 Lars T. Kyllingstad changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Issue 4807] Examples for std.array insert and replace

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4807 Lars T. Kyllingstad changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Issue 5271] Not constant RAND_MAX

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5271 Lars T. Kyllingstad changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: D2 dynamic array on Win32 exception

2011-02-14 Thread Gleb
Bearophile: >Are you sure it is not a bug on D1? >For further posts, I suggest you the D.learn newsgroup. Bearophile, Thank you for the answer. I'll try D.learn.

[Issue 5574] New: Error: this for ~this needs to be type foo not type foo[1u][1u]

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5574 Summary: Error: this for ~this needs to be type foo not type foo[1u][1u] Product: D Version: D2 Platform: All OS/Version: Linux Status: NEW Severity: norm

[Issue 5575] New: Problem with a map() of a const uniq()

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5575 Summary: Problem with a map() of a const uniq() Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Componen

[Issue 5576] New: Problem with map() that yields Tuples

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5576 Summary: Problem with map() that yields Tuples Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal

[Issue 5577] New: Incorrectly generated di file with extern (C) and alias

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5577 Summary: Incorrectly generated di file with extern (C) and alias Product: D Version: D1 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal

[Issue 5573] Compiler (not linker) should generate an error for missing main()

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5573 Robert Clipsham changed: What|Removed |Added CC||rob...@octarineparrot.com --- Commen

[Issue 5578] New: GDC: struct is wrong size when real data type used.

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5578 Summary: GDC: struct is wrong size when real data type used. Product: D Version: D1 Platform: x86 OS/Version: Linux Status: NEW Severity: major Priority: P2

[Issue 5578] GDC: struct is wrong size when real data type used.

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5578 --- Comment #1 from Brad L 2011-02-14 14:48:33 PST --- gdc (Ubuntu 1:1.046-4.3.4-3ubuntu1) 4.3.4 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 5578] GDC: struct is wrong size when real data type used.

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5578 Brad Roberts changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 5579] New: Segfault on first call to GC after starting new thread

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5579 Summary: Segfault on first call to GC after starting new thread Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: regression Priority:

[Issue 5580] New: [64-bit] String switch statements broken in 64-bit mode

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5580 Summary: [64-bit] String switch statements broken in 64-bit mode Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Keywords: wrong-c

[Issue 5580] [64-bit] String switch statements broken in 64-bit mode

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5580 --- Comment #1 from David Simcha 2011-02-14 18:28:28 PST --- This one actually looks to be related to some dynamic library or system call or something. I just noticed that, regardless of what computer I compile it on, I can only reproduce it o

[Issue 5581] New: [64-bit] Wrong code with bitwise operations on bools

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5581 Summary: [64-bit] Wrong code with bitwise operations on bools Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Keywords: wrong-code Severity:

[Issue 5537] invariant._d_invariant() failing in std.concurrency.MessageBox.get

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5537 --- Comment #1 from Jonathan M Davis 2011-02-14 21:32:31 PST --- Using git-bisect, I have confirmed that it is this commit to Phobos which broke it: https://github.com/D-Programming-Language/phobos/commit/ecc7390670a122dec11183cbefbef2e7d9477

[Issue 5579] Segfault on first call to GC after starting new thread

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5579 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #

[Issue 5579] Segfault on first call to GC after starting new thread

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5579 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 5582] New: Improvements to the DLL startup code

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5582 Summary: Improvements to the DLL startup code Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Componen

[Issue 5583] New: Issues when creating a debug build of druntime library

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5583 Summary: Issues when creating a debug build of druntime library Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 4852] core.demangle cannot demangle functions with class/struct return types

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4852 --- Comment #3 from Rainer Schuetze 2011-02-14 23:28:17 PST --- In my version of druntime I've exposed a version with AddType support by adding a function like this: char[] demangle( const(char)[] buf, bool addType_, char[] dst = null ) {

[Issue 5582] Improvements to the DLL startup code

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5582 --- Comment #1 from Rainer Schuetze 2011-02-14 23:32:25 PST --- Created an attachment (id=911) missing change from previous patch Sorry, missed this change. (Is there a way to get a single patch across multiple commits from git?). -- Config

[Issue 5401] std.socket updates and boost license

2011-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5401 Daniel Gibson changed: What|Removed |Added CC||metalcae...@gmail.com --- Comment #3 f