[Issue 22485] OpenBSD: Fix core.sys.openbsd.unistd imports

2021-11-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22485

Dlang Bot  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Dlang Bot  ---
dlang/druntime pull request #3610 "Fix Issue 22485 - OpenBSD: Fix
core.sys.openbsd.unistd imports" was merged into stable:

- 316fde04bbdb3e3a5d4695311cc5276ed3f0debe by Brian Callahan:
  Fix Issue 22485 - OpenBSD: Fix core.sys.openbsd.unistd imports

https://github.com/dlang/druntime/pull/3610

--


[Issue 22485] OpenBSD: Fix core.sys.openbsd.unistd imports

2021-11-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22485

Dlang Bot  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #1 from Dlang Bot  ---
@ibara created dlang/druntime pull request #3610 "Fix Issue 22485 - OpenBSD:
Fix core.sys.openbsd.unistd imports" fixing this issue:

- Fix Issue 22485 - OpenBSD: Fix core.sys.openbsd.unistd imports

https://github.com/dlang/druntime/pull/3610

--


[Issue 22485] New: OpenBSD: Fix core.sys.openbsd.unistd imports

2021-11-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22485

  Issue ID: 22485
   Summary: OpenBSD: Fix core.sys.openbsd.unistd imports
   Product: D
   Version: D2
  Hardware: All
OS: Other
Status: NEW
  Severity: trivial
  Priority: P1
 Component: druntime
  Assignee: nob...@puremagic.com
  Reporter: bcal...@openbsd.org

This one is my fault. The public import core.sys.posix.unistd; in
core.sys.openbsd.unistd ends up breaking code that should otherwise work.

Discovered when trying to use core.sys.openbsd.unistd with std.getopt.

The import isn't needed at all.

--


[Issue 20715] `Error: TypeInfo cannot be used with -betterC` for array of struct = void with copy constructor disabled

2021-11-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20715

Imperatorn  changed:

   What|Removed |Added

 CC||johan_forsberg_86@hotmail.c
   ||om

--- Comment #1 from Imperatorn  ---
When B is by ref A will have
inout pure nothrow @nogc @safe this(ref inout(A) p)
{
this.data = p.data;
return this;
}

B's destructor will not be nogc

--


[Issue 20715] `Error: TypeInfo cannot be used with -betterC` for array of struct = void with copy constructor disabled

2021-11-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20715

Tomáš Chaloupka  changed:

   What|Removed |Added

   Keywords||betterC
 CC||chalu...@gmail.com
   Severity|enhancement |major

--


[Issue 20365] Copy constructor not invoked on static arrays of structs but the postblit works

2021-11-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20365

Tomáš Chaloupka  changed:

   What|Removed |Added

   Keywords||betterC
 CC||chalu...@gmail.com

--


[Issue 22484] dmd generates wrong code for certain parameter/return sizes

2021-11-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22484

--- Comment #3 from Stanislav Blinov  ---
run.dlang.io shows the asserts fail on "all compilers" (which it starts from
2.060), though one would need to change main to this (otherwise it just shows
empty 'Server error:'):

void main(string[] args)
{
actual = [0];
actual.bug(Param.init, 0, {}, {});
}

--


[Issue 22473] dmd foreach loops throw exceptions on invalid UTF sequences, use replacementDchar instead

2021-11-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22473

Vladimir Panteleev  changed:

   What|Removed |Added

 CC||dlang-bugzilla@thecybershad
   ||ow.net

--- Comment #4 from Vladimir Panteleev  ---
I think this is the same as issue 20134 (except foreach loops instead of Phobos
autodecoding, but they should probably behave in the same way).

--


[Issue 22473] dmd foreach loops throw exceptions on invalid UTF sequences, use replacementDchar instead

2021-11-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22473

Vladimir Panteleev  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=20134

--


[Issue 20134] autodecode should use replacementDchar rather than throwing on invalid

2021-11-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20134

Vladimir Panteleev  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=22473

--