[Issue 21161] [Variadic Templates] uses outdated example from D1 / Tango

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21161 Adam D. Ruppe changed: What|Removed |Added CC||destructiona...@gmail.com --- Comment #1

[Issue 21161] New: [Variadic Templates] uses outdated example from D1 / Tango

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21161 Issue ID: 21161 Summary: [Variadic Templates] uses outdated example from D1 / Tango Product: D Version: D2 Hardware: All URL: http://dlang.org/

[Issue 18269] Inconsistent string representation of delegate @system attribute

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18269 --- Comment #6 from hst...@quickfur.ath.cx --- (In reply to Steven Schveighoffer from comment #3) > Is this literally just the string representation of a delegate type that is > wrong? I mean, I tried this out on the latest compiler, and trying to

[Issue 20878] .stringof inconsistent between 32-bit and 64-bit Linux

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20878 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Comment

[Issue 18269] Inconsistent string representation of delegate @system attribute

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18269 --- Comment #5 from hst...@quickfur.ath.cx --- Also blocking this PR: https://github.com/dlang/phobos/pull/7556 --

[Issue 428] environment settings in dmd.conf uppercase names

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=428 --- Comment #2 from Dlang Bot --- dlang-community/libdparse pull request #429 "Fix #428" was merged into master: - b7efd77931f871695d61ec6720a897713a826cca by Hackerpilot: Fix #428 https://github.com/dlang-community/libdparse/pull/429 --

[Issue 21151] div bug: long -5000 / size_t 2 = 9223372036854773308

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21151 --- Comment #12 from mw --- for the additional reference, the forum discussion is here: https://forum.dlang.org/thread/rdrqedmbknwrppbfi...@forum.dlang.org Now both Java and C# did it more correct than D. """ At least I want a warning message,

[Issue 21153] DWARF: DMD emits the mangled name for DW_AT_name

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21153 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @Luhrel

[Issue 21151] div bug: long -5000 / size_t 2 = 9223372036854773308

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21151 --- Comment #11 from kinke --- FWIW, in C# this is an error: long a = -5000; ulong b = 2; long c = a / b; // Operator '/' is ambiguous on operands of type 'long' and 'ulong' --

[Issue 21151] div bug: long -5000 / size_t 2 = 9223372036854773308

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21151 kinke changed: What|Removed |Added Keywords|wrong-code |spec Hardware|x86_64

[Issue 13569] Inconsistent integer divide by zero behavior and spec

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13569 Dlang Bot changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Issue 9800] Numerous issues with DWARF debug output

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9800 LucienPe changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 21160] New: DWARF: DW_AT_main_subprogram should be emitted for _Dmain

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21160 Issue ID: 21160 Summary: DWARF: DW_AT_main_subprogram should be emitted for _Dmain Product: D Version: D2 Hardware: All OS: Linux Status: NEW

[Issue 21159] New: DWARF: DW_AT_pure should be emitted for pure functions

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21159 Issue ID: 21159 Summary: DWARF: DW_AT_pure should be emitted for pure functions Product: D Version: D2 Hardware: All OS: Linux Status: NEW Severity:

[Issue 21158] New: DWARF: function arguments are represented in reverse order

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21158 Issue ID: 21158 Summary: DWARF: function arguments are represented in reverse order Product: D Version: D2 Hardware: All OS: Linux Status: NEW

[Issue 21157] New: DWARF: DW_TAG_decl_file and DW_TAG_decl_line are not produced

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21157 Issue ID: 21157 Summary: DWARF: DW_TAG_decl_file and DW_TAG_decl_line are not produced Product: D Version: D2 Hardware: All OS: Linux Status: NEW

[Issue 21156] New: DWARF: member functions are not represented as children of the aggregate, struct or class

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21156 Issue ID: 21156 Summary: DWARF: member functions are not represented as children of the aggregate, struct or class Product: D Version: D2 Hardware: All OS: Linux

[Issue 21155] New: DWARF: symbols within a module are not children of DW_TAG_module

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21155 Issue ID: 21155 Summary: DWARF: symbols within a module are not children of DW_TAG_module Product: D Version: D2 Hardware: All OS: Linux Status: NEW

[Issue 21154] DWARF: shared types are not represented

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21154 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @Luhrel

[Issue 21154] New: DWARF: shared types are not represented

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21154 Issue ID: 21154 Summary: DWARF: shared types are not represented Product: D Version: D2 Hardware: All OS: Linux Status: NEW Severity: minor Priority:

[Issue 21038] wchar and dchar string alignment should be 2 and 4, respectively

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21038 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 21152] DMD crashing using __gshared inside class

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21152 Simen Kjaeraas changed: What|Removed |Added CC||simen.kja...@gmail.com --- Comment #1 from

[Issue 21153] New: DWARF: DMD emits the mangled name for DW_AT_name

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21153 Issue ID: 21153 Summary: DWARF: DMD emits the mangled name for DW_AT_name Product: D Version: D2 Hardware: All OS: Linux Status: NEW Severity: trivial

[Issue 21152] New: DMD crashing using __gshared inside class

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21152 Issue ID: 21152 Summary: DMD crashing using __gshared inside class Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: normal

[Issue 21151] div bug: long -5000 / size_t 2 = 9223372036854773308

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21151 Basile-z changed: What|Removed |Added Keywords||wrong-code --- Comment #9 from Basile-z ---

[Issue 21151] div bug: long -5000 / size_t 2 = 9223372036854773308

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21151 --- Comment #8 from mw --- $ /mnt/c/project/dmd2/windows/bin64/dmd.exe --version DMD64 D Compiler v2.092.0-dirty Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved written by Walter Bright --

[Issue 21151] div bug: long -5000 / size_t 2 = 9223372036854773308

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21151 --- Comment #7 from kinke --- (In reply to mw from comment #2) > BTW, on Windows, dmd correctly output -2500. Not on Windows, but for 32-bit targets, as an unsigned 32-bit int is converted to a signed 64-bit long in that case, according to spec

[Issue 21148] Semaphoreci: core.exception.AssertError@std/file.d(1929): unittest failure

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21148 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 21151] div bug: long -5000 / size_t 2 = 9223372036854773308

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21151 --- Comment #6 from mw --- OK, let me write this in this way to show it's impact: == import std.algorithm; import std.stdio; void main() { long[] a = [-5000, 0]; long c = sum(a) / a.length; writeln(c); }

[Issue 21151] div bug: long -5000 / size_t 2 = 9223372036854773308

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21151 Basile-z changed: What|Removed |Added CC||b2.t...@gmx.com --- Comment #5 from Basile-z

[Issue 21151] div bug: long -5000 / size_t 2 = 9223372036854773308

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21151 FeepingCreature changed: What|Removed |Added CC||default_357-l...@yahoo.de --- Comment #4

[Issue 21151] div bug: long -5000 / size_t 2 = 9223372036854773308

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21151 --- Comment #3 from mw --- Just because C++ did it doesn't means it's correct. And D supposed to be an improvement of C++. --

[Issue 21151] div bug: long -5000 / size_t 2 = 9223372036854773308

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21151 mw changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Issue 21151] div bug: long -5000 / size_t 2 = 9223372036854773308

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21151 --- Comment #2 from mw --- It can NOT silently do this, at least a warning. BTW, on Windows, dmd correctly output -2500. --

[Issue 21151] div bug: long -5000 / size_t 2 = 9223372036854773308

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21151 kinke changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 21151] New: div bug: long -5000 / size_t 2 = 9223372036854773308

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21151 Issue ID: 21151 Summary: div bug: long -5000 / size_t 2 = 9223372036854773308 Product: D Version: D2 Hardware: x86_64 URL: http://dlang.org/ OS: Linux

[Issue 7033] File.rawWrite is slow on Windows

2020-08-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7033 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #4 from Dlang Bot ---