[Issue 23654] execv_: toAStringz: memory corruption

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23654 --- Comment #5 from kdevel --- Created attachment 1868 --> https://issues.dlang.org/attachment.cgi?id=1868=edit Patch (v0) against process.d Could not yet test this code. That is how I would implement those D wrappers. --

[Issue 23655] __traits(toType) shatters modularity

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23655 Max Samukha changed: What|Removed |Added CC||maxsamu...@gmail.com --- Comment #1 from Max

[Issue 23658] .di generation of variables should turn them into declarations

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

[Issue 23658] New: .di generation of variables should turn them into declarations

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23658 Issue ID: 23658 Summary: .di generation of variables should turn them into declarations Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 23657] [REG2.101] Incorrect error escape reference to stack allocated value

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23657 johanenge...@weka.io changed: What|Removed |Added Keywords||rejects-valid --

[Issue 23657] New: [REG2.101] Incorrect error escape reference to stack allocated value

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23657 Issue ID: 23657 Summary: [REG2.101] Incorrect error escape reference to stack allocated value Product: D Version: D2 Hardware: All OS: All Status:

[Issue 23657] [REG2.101] Incorrect error escape reference to stack allocated value

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23657 johanenge...@weka.io changed: What|Removed |Added Keywords||industry --

[Issue 23656] New: __traits(isScalar) is not adequately defined

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23656 Issue ID: 23656 Summary: __traits(isScalar) is not adequately defined Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal

[Issue 23655] New: __traits(toType) shatters modularity

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23655 Issue ID: 23655 Summary: __traits(toType) shatters modularity Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P2

[Issue 23654] execv_: toAStringz: memory corruption

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23654 Steven Schveighoffer changed: What|Removed |Added CC||schvei...@gmail.com

[Issue 23654] execv_: toAStringz: memory corruption

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23654 Steven Schveighoffer changed: What|Removed |Added Component|dmd |phobos --

[Issue 23654] execv_: toAStringz: memory corruption

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23654 hst...@qfbox.info changed: What|Removed |Added CC||hst...@qfbox.info --

[Issue 23654] execv_: toAStringz: memory corruption

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23654 --- Comment #3 from kdevel --- Created attachment 1867 --> https://issues.dlang.org/attachment.cgi?id=1867=edit use new for allocation (no malloc) --

[Issue 23654] execv_: toAStringz: memory corruption

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23654 --- Comment #1 from kdevel --- (In reply to kdevel from comment #0) > private void toAStringz(in string[] a, const(char)**az) > { > import std.string : toStringz; > foreach (string s; a) > { > *az++ = toStringz(s); > } >

[Issue 23654] execv_: toAStringz: memory corruption

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23654 --- Comment #2 from kdevel --- Created attachment 1866 --> https://issues.dlang.org/attachment.cgi?id=1866=edit GC disabled --

[Issue 23650] Using typeid with struct defined in in __traits(compiles, ...) causes linker error

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

[Issue 19575] core.cpuid not usable without a runtime

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

[Issue 23598] Circular reference bug with static if and eponymous templates

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

[Issue 23179] Unicode in symbol names in DLLs breaks MSVC linker

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23179 --- Comment #6 from Richard Cattermole --- They won't eventually fix this. It permeates the kernel and WinAPI as well. It is an intentional limitation that occasionally becomes an issue on other platforms as well. Other languages like Rust use

[Issue 22335] Exporting variables from DLLs is unusable

2023-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22335 --- Comment #2 from Max Samukha --- (In reply to Walter Bright from comment #1) > It's currently necessary to manually create a .di file with the contents: > > export extern __gshared int x; > > for this to work. That's literally what I

[Issue 21613] DMD crash: copy ctor + templated rvalue ctor

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