[Issue 24311] Named enum with AA base type causes ICE

2024-01-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24311 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @dkorpel

[Issue 24311] Named enum with AA base type causes ICE

2024-01-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24311 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 24282] Error in the code is not detected by the compiler and only fails at the linking stage

2024-01-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24282 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 15459] [REG2.065.0] stdin.byLine.each!(map!somefunc) compiles, fails to link with ld

2024-01-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15459 RazvanN changed: What|Removed |Added CC||siarhei.siamashka@hotmail.c |

[Issue 24320] New: Change std.writefln() into a regular variadic function not a template

2024-01-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24320 Issue ID: 24320 Summary: Change std.writefln() into a regular variadic function not a template Product: D Version: D2 Hardware: All OS: All Status: NE

[Issue 24320] Change std.writefln() into a regular variadic function not a template

2024-01-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24320 --- Comment #1 from Walter Bright --- Arguments like `struct S { int x; int y; }` that have no corresponding format specifier could use `%s` as the format specifier, and then the argument can be wrapped in a template that provides a default toString(

[Issue 24320] Change std.writefln() into a regular variadic function not a template

2024-01-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24320 elpenguin...@gmail.com changed: What|Removed |Added CC||elpenguin...@gmail.com --- Comment #

[Issue 24320] Change std.writefln() into a regular variadic function not a template

2024-01-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24320 --- Comment #3 from Walter Bright --- The build system, of course, will merge identical template instantiations. But the purpose of templates is to provide specializations for their specific arguments, and so they are different and cannot be merged.

[Issue 24315] dmd/cpreprocess.d:87: warning: the use of `tmpnam' is dangerous, better use `mkstemp'

2024-01-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24315 --- Comment #5 from Walter Bright --- It returns a file descriptor for an already opened file. --

[Issue 24315] dmd/cpreprocess.d:87: warning: the use of `tmpnam' is dangerous, better use `mkstemp'

2024-01-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24315 --- Comment #6 from kdevel --- (In reply to Walter Bright from comment #5) > It returns a file descriptor for an already opened file. The descriptor is unused and can be safely closed (or the FILE* ptr fclosed after using fdopen). Using mkstemp is h