[Issue 2815] New: Attributes at end of file accepted

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2815 Summary: Attributes at end of file accepted Product: D Version: 1.042 Platform: PC OS/Version: Windows Status: NEW Keywords: accepts-invalid, patch Severity: trivia

[Issue 2812] sqrt(2.0) is about -2.7341e-53

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2812 --- Comment #3 from clugd...@yahoo.com.au 2009-04-07 02:08 --- Not so. float x = sqrt(2.0f); is also wrong. It only affects compile-time constants: double y = 2.0; double x = sqrt(y); works correctly. --

[Issue 2815] Attributes at end of file accepted

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2815 --- Comment #1 from clugd...@yahoo.com.au 2009-04-07 02:06 --- Created an attachment (id=316) --> (http://d.puremagic.com/issues/attachment.cgi?id=316&action=view) fix 2815 Adds: case TOKeof: error("declaration

[Issue 1927] dmd SEGV when passing invalid symbol as parameter

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1927 clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: DMD returns -1073741819 despite success

2009-04-07 Thread Unknown W. Brackets
Well, for me it works. I do use the error level in some scripts I've written, and it outputs 0 when linking. I'm not linking in the lib file, though. Try it from the command line. I know you want it to work in the IDE, but the first step is to determine whose bug it is. From the command l

[Issue 52] ambiguous function pointer silently accepted

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=52 --- Comment #6 from g...@nwawudu.com 2009-04-07 03:12 --- The example below does not compile. Has this been fixed? DMD v1.041 bug52.d(11): Error: expected 1 arguments, not 0 bug52.d(26): Error: expected 0 arguments, not 1 DMD v2.027 b

[Issue 2816] New: Sudden-death static assert is not very useful

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2816 Summary: Sudden-death static assert is not very useful Product: D Version: 1.042 Platform: PC OS/Version: Windows Status: NEW Keywords: patch Severity: enhancement

Re: DMD returns -1073741819 despite success

2009-04-07 Thread A. Jung
Unknown W. Brackets Wrote: > Try it from the command line. DMD 2.016: D:\test2>batmake D:\test2>dmd.exe -g -debug-IC:\dmd\src\phobos -c hello.d -ofobj\debug\hello.obj D:\test2>echo 0 0 D:\test2>dmd.exe bin\debug\test2.exe obj\debug\hello.obj phobos.lib D:\test2>echo 0 0" DMD 2.017: "

[Issue 52] ambiguous function pointer silently accepted

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=52 --- Comment #8 from s...@iname.com 2009-04-07 06:25 --- No. If you actually read this bug, you'll see that it isn't about lines 11 and 26, but about the fact that ambiguous function pointers are silently accepted. The errors should be

[Issue 2816] Sudden-death static assert is not very useful

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2816 clugd...@yahoo.com.au changed: What|Removed |Added Keywords|patch | --- Comment #2 from clug

[Issue 2817] optlink crashes because of utf8 string?

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2817 --- Comment #1 from dav...@126.com 2009-04-07 05:00 --- Created an attachment (id=317) --> (http://d.puremagic.com/issues/attachment.cgi?id=317&action=view) testutf.d dmd -g works, dmd testutf.d makes optlink crash --

[Issue 2805] Many modules not labbeled as system

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2805 --- Comment #2 from bary...@smp.if.uj.edu.pl 2009-04-07 07:00 --- http://www.digitalmars.com/d/2.0/module.html#ModuleDeclaration --

[Issue 1309] sorting arrays of structs is broken

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1309 --- Comment #3 from g...@nwawudu.com 2009-04-07 04:13 --- The documentation for structs in associative array mentions that opCmp should be declared as 'int opCmp(ref const MyStruct x) const', this definition should be applied to stand

Re: DMD returns -1073741819 despite success

2009-04-07 Thread A. Jung
A. Jung Wrote: > So its LINK.exe! Sorry, fingertrouble. Its definitly DMD.exe. Following happens when doing a fresh install of the entire DMD2.017 package and then replacing DMD.exe with the one from 2.016: "D:\test2>batmake D:\test2>dmd.exe -g -debug-IC:\dmd\src\phobos -c hello.d -ofob

[Issue 2816] Sudden-death static assert is not very useful

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2816 --- Comment #1 from bugzi...@digitalmars.com 2009-04-07 04:21 --- The static assert does give you file/line, so it does give context. But I'll add the expression print, too. But I think static assert errors should be fatal. They usua

[Issue 2817] New: optlink crashes because of utf8 string?

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2817 Summary: optlink crashes because of utf8 string? Product: D Version: unspecified Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2

Re: DMD returns -1073741819 despite success

2009-04-07 Thread A. Jung
Now DMD2.017 with LINK2.016: "D:\test2>batmake D:\test2>dmd --help Digital Mars D Compiler v2.027 [...] D:\test2>link -H OPTLINK (R) for Win32 Release 8.00.1 [...] D:\test2>dmd.exe -g -debug-IC:\dmd\src\phobos -c hello.d -ofobj\debug\hello.obj D:\test2>echo 0 0 D:\test2>dmd.exe bin\

[Issue 52] ambiguous function pointer silently accepted

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=52 --- Comment #7 from g...@nwawudu.com 2009-04-07 05:31 --- (In reply to comment #6) > The example below does not compile... The example in the issue description does not compile anymore. Has this issue been fixed and is it ok to close t

[Issue 2816] Sudden-death static assert is not very useful

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2816 kamm-removet...@incasoftware.de changed: What|Removed |Added Keywords||patch --- Comme

[Issue 2816] Sudden-death static assert is not very useful

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2816 --- Comment #4 from clugd...@yahoo.com.au 2009-04-07 10:47 --- (In reply to comment #3) > Don, LDC already implemented template instantiation traces. Check > StaticAssert::semantic2 and TemplateInstance::printInstantiationTrace. I > e

[Issue 2816] Sudden-death static assert is not very useful

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2816 --- Comment #5 from shro8...@vandals.uidaho.edu 2009-04-07 11:07 --- For that matter, if template errors could all be given optional (some flag?) stack traces (not just chained errors) that would be cool. I'm thinking somthing like:

[Issue 2819] array.sort segfaults if array length >=0x8F_FFFF

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2819 --- Comment #2 from clugd...@yahoo.com.au 2009-04-07 14:47 --- (In reply to comment #1) > (In reply to comment #0) > > This is just another reason for the built-in .sort to be deprecated. > > I don't understand. How is this bug a co

[Issue 2819] array.sort segfaults if array length >=0x8F_FFFF

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2819 --- Comment #3 from and...@metalanguage.com 2009-04-07 15:05 --- (In reply to comment #2) > (In reply to comment #1) > > (In reply to comment #0) > > > This is just another reason for the built-in .sort to be deprecated. > > > > I do

[Issue 2818] New: Pointer parameters in core.memory should be const(void)*.

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2818 Summary: Pointer parameters in core.memory should be const(void)*. Product: D Version: 2.027 Platform: PC OS/Version: Windows Status: NEW Severity: normal

[Issue 2819] array.sort segfaults if array length >=0x8F_FFFF

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2819 --- Comment #4 from matti.niemenmaa+dbugzi...@iki.fi 2009-04-07 15:17 --- http://www.dsource.org/projects/tango/ticket/571 has some old numbers. --

[Issue 2819] array.sort segfaults if array length >=0x8F_FFFF

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2819 s...@iname.com changed: What|Removed |Added CC||s...@iname.com Keywords|

[Issue 2819] New: array.sort segfaults if array length >=0x8F_FFFF

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2819 Summary: array.sort segfaults if array length >=0x8F_ Product: D Version: 1.042 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 2819] array.sort segfaults if array length >=0x8F_FFFF

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2819 --- Comment #5 from s...@iname.com 2009-04-07 16:19 --- (In reply to comment #3) > I agree. By the way, if anyone has run numbers on the relative speeds of > various sort implementations, please share. What's a run number? Anyway, h

[Issue 2820] New: itoa and ultoa functions are missing in Phobos

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2820 Summary: itoa and ultoa functions are missing in Phobos Product: D Version: 2.027 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 2812] sqrt(2.0) is about -2.7341e-53

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2812 bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|