[Issue 23456] OpenBSD: Add waitid support

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23456

--- Comment #3 from Dlang Bot  ---
dlang/dmd pull request #14643 "merge stable" was merged into master:

- 0c862722803437de393c9911ff0bb32f2c120998 by Brian Callahan:
  Fix Issue 23456 - OpenBSD: Add waitid support (#14612)

https://github.com/dlang/dmd/pull/14643

--


[Issue 23461] dmd: src/dmd/backend/cod1.d:2037: Assertion false failed

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23461

--- Comment #3 from Dlang Bot  ---
dlang/dmd pull request #14643 "merge stable" was merged into master:

- feddb0b9f48909ab40bc78b1bd37a5c4008b559a by Walter Bright:
  fix Issue 23461 - dmd: src/dmd/backend/cod1.d:2037: Assertion false failed

https://github.com/dlang/dmd/pull/14643

--


[Issue 23368] Throwing a null exception at compile time crashes the compiler

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23368

--- Comment #3 from Dlang Bot  ---
dlang/dmd pull request #14643 "merge stable" was merged into master:

- ab39d16b006ba3db4639ce663da9f1efa49c9d4e by mhh:
  Fix Issue 23368 - Don't segfault on throwing null exception

https://github.com/dlang/dmd/pull/14643

--


[Issue 23486] LINK : fatal error LNK1104: cannot open file '..\generated\windows\copyimports.exe'

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23486

--- Comment #2 from Iain Buclaw  ---
This has failed for the third time in a row now when running build.

--


[Issue 23486] LINK : fatal error LNK1104: cannot open file '..\generated\windows\copyimports.exe'

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23486

--- Comment #1 from Iain Buclaw  ---
Introduced by https://github.com/dlang/druntime/pull/3026

--


[Issue 23486] LINK : fatal error LNK1104: cannot open file '..\generated\windows\copyimports.exe'

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23486

Iain Buclaw  changed:

   What|Removed |Added

 CC||ibuc...@gdcproject.org
 OS|Linux   |Windows
   Severity|enhancement |regression

--


[Issue 23486] New: LINK : fatal error LNK1104: cannot open file '..\generated\windows\copyimports.exe'

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23486

  Issue ID: 23486
   Summary: LINK : fatal error LNK1104: cannot open file
'..\generated\windows\copyimports.exe'
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: installer
  Assignee: nob...@puremagic.com
  Reporter: ibuc...@gdcproject.org

The introduction of copyimports.d introduced a build regression. This happens
quite often, and only intermittently works.


Running: make MODEL=32
"DMD=C:\Users\vagrant\clones\dmd\generated\windows\release\32\dmd.exe"
HOST_DC=C:\Users\vagrant\ldc/ldc2-1.30.0-windows-multilib/bin/ldmd2.exe
HOST_DMD=C:\Users\vagrant\ldc/ldc2-1.30.0-windows-multilib/bin/ldmd2.exe
ENABLE_RELEASE=1 ENABLE_LTO=1 LATEST=2.101.0 -f win32.mak target implibs
"make" -f mak/WINDOWS copydir
DMD="C:\Users\vagrant\clones\dmd\generated\windows\release\32\dmd.exe"
HOST_DMD="C:\Users\vagrant\ldc/ldc2-1.30.0-windows-multilib/bin/ldmd2.exe"
MODEL=32 IMPDIR="import"
if not exist ..\generated md ..\generated
if not exist ..\generated\windows md ..\generated\windows
if exist "../../release-build/dmd-2.079.0/windows/bin/dmd.exe" (echo
@"../../release-build/dmd-2.079.0/windows/bin/dmd.exe" %*
>..\generated\windows\host_dmd.bat)
if not ""  == "" ("\dmd2\Windows\bin\dmd.exe" --version >nul 2>&1 && echo
@"\dmd2\Windows\bin\dmd.exe" %* >..\generated\windows\host_dmd.bat)
if not ""  == "" (""  --version >nul 2>&1 && echo @"" %*
>..\generated\windows\host_dmd.bat)
if not "C:\Users\vagrant\ldc/ldc2-1.30.0-windows-multilib/bin/ldmd2.exe" == ""
("C:\Users\vagrant\ldc/ldc2-1.30.0-windows-multilib/bin/ldmd2.exe" --version
>nul 2>&1 && echo
@"C:\Users\vagrant\ldc/ldc2-1.30.0-windows-multilib/bin/ldmd2.exe" %*
>..\generated\windows\host_dmd.bat)
..\generated\windows\host_dmd.bat -of=..\generated\windows\copyimports.exe -m32
mak\copyimports.d



"make" -f mak/WINDOWS copy
DMD="C:\Users\vagrant\clones\dmd\generated\windows\release\32\dmd.exe"
HOST_DMD="C:\Users\vagrant\ldc/ldc2-1.30.0-windows-multilib/bin/ldmd2.exe"
MODEL=32 IMPDIR="import"
if not exist ..\generated md ..\generated
if not exist ..\generated\windows md ..\generated\windows
if exist "../../release-build/dmd-2.079.0/windows/bin/dmd.exe" (echo
@"../../release-build/dmd-2.079.0/windows/bin/dmd.exe" %*
>..\generated\windows\host_dmd.bat)
if not ""  == "" ("\dmd2\Windows\bin\dmd.exe" --version >nul 2>&1 && echo
@"\dmd2\Windows\bin\dmd.exe" %* >..\generated\windows\host_dmd.bat)
if not ""  == "" (""  --version >nul 2>&1 && echo @"" %*
>..\generated\windows\host_dmd.bat)
if not "C:\Users\vagrant\ldc/ldc2-1.30.0-windows-multilib/bin/ldmd2.exe" == ""
("C:\Users\vagrant\ldc/ldc2-1.30.0-windows-multilib/bin/ldmd2.exe" --version
>nul 2>&1 && echo
@"C:\Users\vagrant\ldc/ldc2-1.30.0-windows-multilib/bin/ldmd2.exe" %*
>..\generated\windows\host_dmd.bat)
..\generated\windows\host_dmd.bat -of=..\generated\windows\copyimports.exe -m32
mak\copyimports.d
LINK : fatal error LNK1104: cannot open file
'..\generated\windows\copyimports.exe'
Error: C:\Program Files (x86)\Microsoft Visual
Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX64\x86\link.exe
failed with status: 1104
Error: '..\generated\windows\copyimports.exe' not found

--- errorlevel 1
create_dmd_release: Error: Command failed (ran from dir 'clones\dmd\druntime'):
make MODEL=32
"DMD=C:\Users\vagrant\clones\dmd\generated\windows\release\32\dmd.exe"
HOST_DC=C:\Users\vagrant\ldc/ldc2-1.30.0-windows-multilib/bin/ldmd2.exe
HOST_DMD=C:\Users\vagrant\ldc/ldc2-1.30.0-windows-multilib/bin/ldmd2.exe
ENABLE_RELEASE=1 ENABLE_LTO=1 LATEST=2.101.0 -f win32.mak target implibs

--


[Issue 23476] Second ImportC example in Quick Examples, Section 41.1, does not compile

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23476

Don Allen  changed:

   What|Removed |Added

   Keywords||ImportC

--


[Issue 23485] ImportC: two tests with gtk

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23485

Don Allen  changed:

   What|Removed |Added

   Keywords||ImportC

--


[Issue 23485] ImportC: two tests with gtk

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23485

--- Comment #2 from Don Allen  ---
Created attachment 1861
  --> https://issues.dlang.org/attachment.cgi?id=1861&action=edit
Second test: include of gtk.h with attempts to work around problems encountered
in first test

--


[Issue 23485] ImportC: two tests with gtk

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23485

--- Comment #1 from Don Allen  ---
Created attachment 1860
  --> https://issues.dlang.org/attachment.cgi?id=1860&action=edit
First test: vanilla include (see gtk.c)

--


[Issue 23485] New: ImportC: two tests with gtk

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23485

  Issue ID: 23485
   Summary: ImportC: two tests with gtk
   Product: D
   Version: D2
  Hardware: x86_64
OS: FreeBSD
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: donaldcallen1...@icloud.com

As requested by Walter, here are tar files of two tests of attempts to import a
pre-processed C file that includes gtk.h. The first simply includes the header
file. The second adds some #defines to try to work around the problems. This
was as far as I got in my own attempt to use ImportC for my own application.

These tests were done on a FreeBSD 13.1 system. I've seen similar results on
Linux.

For your convenience, the 'errors' file is the output of 'make' in each case.
The header_files directory contains a copy of the header files that appear in
'errors'. It's worth noting that in the first test, the problems were in
signal.h and types.h, not in any of the gtk header files.

--


[Issue 23475] confusing printf deprecation message with ulong/long on Windows

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23475

--- Comment #7 from Nick Treleaven  ---
(In reply to kinke from comment #5)
> You're calling a C function, which couldn't care less about D well-defining
> long as 64-bit on all targets.

Yes, thanks for the tip about %lld.

--


[Issue 23475] confusing printf deprecation message with ulong/long on Windows

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23475

Nick Treleaven  changed:

   What|Removed |Added

   Keywords||diagnostic
   Severity|minor   |enhancement

--


[Issue 23475] confusing printf deprecation message with ulong/long on Windows

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23475

Dlang Bot  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #6 from Dlang Bot  ---
@ntrel created dlang/dmd pull request #14641 "Fix Issue 23475 - confusing
printf deprecation message with ulong/lon…" fixing this issue:

- Fix Issue 23475 - confusing printf deprecation message with ulong/long on
Windows

https://github.com/dlang/dmd/pull/14641

--


[Issue 17124] dmd segfaults on __traits(getMember, ...)

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17124

RazvanN  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 CC||razvan.nitu1...@gmail.com
 Resolution|--- |WORKSFORME

--- Comment #6 from RazvanN  ---
I also cannot reproduce this. Why was this reopened?

--


[Issue 19552] -transition is non-intuitive to use - the flag should list options by default

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19552

RazvanN  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||razvan.nitu1...@gmail.com
 Resolution|--- |FIXED

--- Comment #2 from RazvanN  ---
Fixed by: https://github.com/dlang/dmd/pull/9205

--


[Issue 17090] `dmd -transition=?` needs quoting => make it `-transition=help`

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17090

RazvanN  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||razvan.nitu1...@gmail.com
 Resolution|--- |FIXED

--- Comment #4 from RazvanN  ---
Fixed by: https://github.com/dlang/dmd/pull/9205

--


[Issue 17067] D header file generation includes excess imports

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17067

RazvanN  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

--


[Issue 17079] dmd -v should show all generated files including objects

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17079

RazvanN  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||razvan.nitu1...@gmail.com

--


[Issue 5710] cannot use nested function as alias parameter to non-global template

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5710

--- Comment #55 from RazvanN  ---
*** Issue 11533 has been marked as a duplicate of this issue. ***

--


[Issue 11533] Compiler should allow to being nested for static local template functions

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11533

RazvanN  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 CC||razvan.nitu1...@gmail.com
 Resolution|--- |DUPLICATE

--- Comment #6 from RazvanN  ---


*** This issue has been marked as a duplicate of issue 5710 ***

--


[Issue 17063] Nested function template cannot be accessed

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17063

RazvanN  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||razvan.nitu1...@gmail.com
 Resolution|--- |DUPLICATE

--- Comment #2 from RazvanN  ---


*** This issue has been marked as a duplicate of issue 5710 ***

--


[Issue 5710] cannot use nested function as alias parameter to non-global template

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5710

RazvanN  changed:

   What|Removed |Added

 CC||jens.muel...@sociomantic.co
   ||m

--- Comment #54 from RazvanN  ---
*** Issue 17063 has been marked as a duplicate of this issue. ***

--


[Issue 16672] Deprecate "block only" delegate syntax

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16672

Nick Treleaven  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|DUPLICATE   |---

--- Comment #6 from Nick Treleaven  ---
This issue is not related to the `for` statement. Rather the `for` issue was
related to this.

--


[Issue 23484] -preview=dip1021 is crashing the compiler before linking

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23484

RazvanN  changed:

   What|Removed |Added

 CC||razvan.nitu1...@gmail.com

--- Comment #1 from RazvanN  ---
Unfortunately, if you do not provide a test case, there is no way for us to fix
this.

--


[Issue 23484] New: -preview=dip1021 is crashing the compiler before linking

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23484

  Issue ID: 23484
   Summary: -preview=dip1021 is crashing the compiler before
linking
   Product: D
   Version: D2
  Hardware: x86
OS: Windows
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: msnmanc...@hotmail.com

-preview=dip1021 is crashing the compiler before linking

This has been consistently happening in my project, it triggers the JIT
Debugger on Windows 10

--


[Issue 23483] add profile-gc hook function user can call early to dump partial report file.

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23483

RazvanN  changed:

   What|Removed |Added

 CC||razvan.nitu1...@gmail.com
  Component|dmd |druntime

--


[Issue 16672] Deprecate "block only" delegate syntax

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16672

RazvanN  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #5 from RazvanN  ---


*** This issue has been marked as a duplicate of issue 23480 ***

--


[Issue 23480] non-empty ForStatement Increment clause should require a side effect

2022-11-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23480

RazvanN  changed:

   What|Removed |Added

 CC||schvei...@gmail.com

--- Comment #2 from RazvanN  ---
*** Issue 16672 has been marked as a duplicate of this issue. ***

--