[Issue 4082] nothrow main() can throw

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4082 --- Comment #2 from Marco Leise marco.le...@gmx.de 2012-08-15 01:06:15 PDT --- Since it all applies to FuncDeclaration::semantic3(...), I'll add this case: void b(Test t) nothrow { } struct Test { ~this() { throw new

[Issue 4082] nothrow main() can throw

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4082 --- Comment #3 from Marco Leise marco.le...@gmx.de 2012-08-15 02:12:57 PDT --- It also happens when I add a switch statement and the goto is a 'goto case ...'. It seems the BEgoto flag has a viral effect. I'll try to fix it. int x;

[Issue 4082] nothrow main() can throw

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4082 --- Comment #4 from Marco Leise marco.le...@gmx.de 2012-08-15 03:05:26 PDT --- Ok I think I have fixed it. The original case was due to try-finally-statements not checking their finally section for thrown exceptions. And the goto made it so

[Issue 8547] New: Pure Functions Compilation - Not consistent errors

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8547 Summary: Pure Functions Compilation - Not consistent errors Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 8547] Pure Functions Compilation - Not consistent errors

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8547 --- Comment #1 from Daniel Cousens daniel...@bigpond.com 2012-08-15 04:55:41 PDT --- To be clear, an error was expected for both, not just one. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 8548] New: relocation R_X86_64_32 against can not be used when making a shared object

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8548 Summary: relocation R_X86_64_32 against can not be used when making a shared object Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 8549] New: Bad error message with const methods

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8549 Summary: Bad error message with const methods Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: diagnostic Severity: normal

[Issue 8550] New: std.container.InlinedArray

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8550 Summary: std.container.InlinedArray Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos

[Issue 6946] Compile-time flags generator

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6946 Marco Leise marco.le...@gmx.de changed: What|Removed |Added CC||marco.le...@gmx.de

[Issue 8530] Float types default initializers doesn't work in class

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8530 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 8550] std.container.InlinedArray

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8550 Daniel Cousens daniel...@bigpond.com changed: What|Removed |Added CC|

[Issue 1759] Closures and With Statements

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1759 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 8551] New: Endless Split

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8551 Summary: Endless Split Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: Phobos

[Issue 8530] Float types default initializers doesn't work in class

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8530 --- Comment #4 from Daniel Kozak kozz...@gmail.com 2012-08-15 07:29:25 PDT --- (In reply to comment #3) (In reply to comment #2) (In reply to comment #1) If you want to check for NaN, then use std.math.isNaN. As I understand it, there

[Issue 8548] relocation R_X86_64_32 against can not be used when making a shared object

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8548 Maxim Fomin ma...@maxim-fomin.ru changed: What|Removed |Added CC||ma...@maxim-fomin.ru

[Issue 8548] relocation R_X86_64_32 against can not be used when making a shared object

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8548 --- Comment #2 from wbr...@gmail.com 2012-08-15 08:09:12 PDT --- dmd.2.060.zip dmd2/linux/bin64/dmd import std.stdio; void main(string[] args) { writeln(hello world); writefln(args.length = %d, args.length); foreach (index, arg;

[Issue 8530] Float types default initializers doesn't work in class

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8530 Iain Buclaw ibuc...@ubuntu.com changed: What|Removed |Added CC||ibuc...@ubuntu.com

[Issue 3309] `Traits` : function parameters name

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3309 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8550] std.container.InlinedArray

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8550 Dmitry Olshansky dmitry.o...@gmail.com changed: What|Removed |Added CC|

[Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar*

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8384 --- Comment #9 from Vladimir Panteleev thecybersha...@gmail.com 2012-08-15 13:24:08 PDT --- Another case of confusion due to format treating C strings as pointers: http://stackoverflow.com/q/11975353/21501 I still think that the current

[Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar*

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8384 --- Comment #11 from Vladimir Panteleev thecybersha...@gmail.com 2012-08-15 13:48:30 PDT --- Sorry, I don't think that your categorical point of view is constructive. As long as D will interface with C libraries and programs, people will

[Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar*

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8384 --- Comment #12 from Vladimir Panteleev thecybersha...@gmail.com 2012-08-15 13:56:00 PDT --- I would like to stress out a point that I hope could clear up my view of the logic that writeln/format should use. Printing/formatting memory

[Issue 8553] New: templated interface methods (virutal?) and linker missing symbols

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8553 Summary: templated interface methods (virutal?) and linker missing symbols Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar*

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8384 --- Comment #13 from Jonathan M Davis jmdavisp...@gmx.com 2012-08-15 13:57:15 PDT --- Anyone who does not understand that char* is _not_ a string will continue to make mistakes like trying to concatenate a char* to a string (

[Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar*

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8384 --- Comment #14 from Vladimir Panteleev thecybersha...@gmail.com 2012-08-15 14:01:42 PDT --- First of all, you are conflating ignorance between the two string types with my arguments. Users who are aware that D has its own way of handling

[Issue 8554] New: ddemangle is doing nothing on 64 bit linux

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8554 Summary: ddemangle is doing nothing on 64 bit linux Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar*

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8384 --- Comment #15 from Jonathan M Davis jmdavisp...@gmx.com 2012-08-15 14:06:49 PDT --- I'm saying that we shouldn't treat char* differently from int* just because some newbies expect char* to act like a string. And if you know D, then you know

[Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar*

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8384 --- Comment #16 from Vladimir Panteleev thecybersha...@gmail.com 2012-08-15 14:08:44 PDT --- Well, then how about removing the pointer-printing feature entirely, and issue a compile-time error on all pointer types? -- Configure issuemail:

[Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar*

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8384 --- Comment #17 from Vladimir Panteleev thecybersha...@gmail.com 2012-08-15 14:12:50 PDT --- And if you know D, then you know that char* is _not_ a string, and I don't see how you could expect it to be treated as one. I don't think this

[Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar*

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8384 Adam D. Ruppe destructiona...@gmail.com changed: What|Removed |Added CC|

[Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar*

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8384 --- Comment #19 from Jonathan M Davis jmdavisp...@gmx.com 2012-08-15 14:40:14 PDT --- Well, then how about removing the pointer-printing feature entirely, and issue a compile-time error on all pointer types? So, you're suggesting that we

[Issue 8555] New: Round Robin and Infinite Ranges

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8555 Summary: Round Robin and Infinite Ranges Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 8550] std.container.InlinedArray

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8550 --- Comment #3 from bearophile_h...@eml.cc 2012-08-15 15:34:34 PDT --- (In reply to comment #2) This is called small array optimization except for size of array is hardwired so that the whole struct fits a couple of words. I suggest to just