[Issue 23871] ImportC: __attribute not recognized

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

[Issue 23864] importC fails on assert( pointer != NULL )

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23864 Walter Bright changed: What|Removed |Added Keywords||ImportC Status|NEW

[Issue 23875] New: ImportC: __attribute__ in a cast doesn't work

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23875 Issue ID: 23875 Summary: ImportC: __attribute__ in a cast doesn't work Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal

[Issue 23875] ImportC: __attribute__ in a cast doesn't work

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23875 Walter Bright changed: What|Removed |Added Keywords||ImportC --

[Issue 23864] importC fails on assert( pointer != NULL )

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23864 Walter Bright changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 23875] ImportC: __attribute__ in a cast doesn't work

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23875 Walter Bright changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 23864] importC fails on assert( pointer != NULL )

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23864 --- Comment #5 from Walter Bright --- (In reply to Steven Schveighoffer from comment #3) > Walter, this is the same issue I got when building stb_image.h (one of them) Your's appears to be a completely different problem, which is:

[Issue 23864] importC fails on assert( pointer != NULL )

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23864 --- Comment #4 from Walter Bright --- (In reply to emteria_wegwerf from comment #2) > I get > > $ dmd test.i > test.c(8): Error: expression expected, not `{` This is because of the expression statement. This problem was fixed with:

[Issue 23874] -profile=gc segfaults / ICE regression

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23874 --- Comment #2 from Jan Jurzitza --- alternative reproduction that works with master: reduced2.d ``` string myToString() { } enum x = myToString ~ ""; ``` dmd -c -profile=gc reduced2.d this one regressed in

[Issue 23874] -profile=gc segfaults / ICE regression

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23874 --- Comment #1 from Jan Jurzitza --- note: the code to reproduce has been fixed with https://github.com/dlang/dmd/commit/abb7836dd705be4f3c82e606b31d54dd69276476 on master, but that did not seem intentional and I'm keeping this open until the real

[Issue 23871] ImportC: __attribute not recognized

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

[Issue 23871] ImportC: __attribute not recognized

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23871 Walter Bright changed: What|Removed |Added Keywords||ImportC --

[Issue 23871] ImportC: __attribute not recognized

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23871 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com

[Issue 23874] New: -profile=gc segfaults / ICE regression

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23874 Issue ID: 23874 Summary: -profile=gc segfaults / ICE regression Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression

[Issue 23873] New: [ICE] segfault on imported `static if ; else auto x`

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23873 Issue ID: 23873 Summary: [ICE] segfault on imported `static if ; else auto x` Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity:

[Issue 23870] ImportC doesn't accept '\' followed by newline, whereas VC does

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

[Issue 23870] ImportC doesn't accept '\' followed by newline, whereas VC does

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

[Issue 23870] ImportC doesn't accept '\' followed by newline, whereas VC does

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23870 --- Comment #5 from Walter Bright --- (In reply to Max Samukha from comment #4) > Note that VC compiler still accepts the code with the \. I know. It's still a bug in that compiler. I've noticed many times over the years that when there's a bug in

[Issue 22739] Segmentation fault in CppMangleVisitor.headOfType

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22739 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #15156 "merge stable" was merged into master: - bd23d5972b551e233bb08337f4735060edd5ff1c by Razvan Nitu: Fix Issue 22739 - Segmentation fault in CppMangleVisitor.headOfType (#15098)

[Issue 23859] [REG 2.103] Throwing while in a deep callstack causes memory corruption

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23859 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #15156 "merge stable" was merged into master: - ca016bd979a479c47942c2a472d62dc03bfe21a2 by Rainer Schuetze: fix issue 23859 - [REG 2.103] Throwing while in a deep callstack causes memory

[Issue 20090] Header generation wrongfully outputs constructor bodies

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20090 --- Comment #5 from Dlang Bot --- dlang/dmd pull request #15156 "merge stable" was merged into master: - 4531b0c6ca7c9218b8d22ae309e44273da880fc4 by Razvan Nitu: Fix Issue 20090 - Header generation wrongfully outputs constructor bodies (#15115)

[Issue 23816] Typing invalid mnemonic in asm{} block segfaults

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23816 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #15156 "merge stable" was merged into master: - b2a24bb959d521d367d9b26b6a67683a3ce480d1 by Razvan Nitu: Fix Issue 23816 - Typing invalid mnemonic in asm{} block segfaults (#15060)

[Issue 22857] Segfault for malformed static if in imported template

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22857 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #15156 "merge stable" was merged into master: - 997b00bf45eb4ad2cd97c6cb872308e9797bcf0a by Razvan Nitu: Fix Issue 22857 - Segfault for malformed static if in imported template (#15097)

[Issue 22765] Assertion failure in CppMangleVisitor.template_args

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22765 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #15156 "merge stable" was merged into master: - b7b1d8f83a5ed66035ff26cc619a1dcd4f6717fa by Razvan Nitu: Fix Issue 22765 - Assertion failure in CppMangleVisitor.template_args (#15100) -

[Issue 19454] Name collisions with unnamed function parameters

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

[Issue 14478] isInputRange should allow ranges of non-copyable elements

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

[Issue 19454] Name collisions with unnamed function parameters

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

[Issue 23865] duplicate alias not detected

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23865 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com

[Issue 23870] ImportC doesn't accept '\' followed by newline, whereas VC does

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23870 --- Comment #4 from Max Samukha --- (In reply to Walter Bright from comment #3) > (It should not do that.) Note that VC compiler still accepts the code with the \. > I'll see what I can do about it. Nice, thanks! --

[Issue 23872] Wrong example in Interfacing to C: Calling printf section

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

[Issue 23872] Wrong example in Interfacing to C: Calling printf section

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

[Issue 23872] New: Wrong example in Interfacing to C: Calling printf section

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23872 Issue ID: 23872 Summary: Wrong example in Interfacing to C: Calling printf section Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 23872] Wrong example in Interfacing to C: Calling printf section

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23872 --- Comment #1 from ZombineDev --- Reported here: https://forum.dlang.org/post/wodeaztcqwxulrfrg...@forum.dlang.org --

[Issue 23870] ImportC doesn't accept '\' followed by newline, whereas VC does

2023-05-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23870 --- Comment #3 from Walter Bright --- (In reply to Max Samukha from comment #2) > In the original test code, \ is immediately followed by a newline. You or > your text editor must have added the space. I see you are right. I don't know how that