[Issue 24204] Params section in ddoc comments causes warnings with unnamed parameters
https://issues.dlang.org/show_bug.cgi?id=24204 elpenguin...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from elpenguin...@gmail.com --- *** This issue has been marked as a duplicate of issue 24203 *** --
[Issue 24203] Params section in ddoc comments causes warnings with unnamed parameters
https://issues.dlang.org/show_bug.cgi?id=24203 --- Comment #1 from elpenguin...@gmail.com --- *** Issue 24204 has been marked as a duplicate of this issue. *** --
[Issue 24204] New: Params section in ddoc comments causes warnings with unnamed parameters
https://issues.dlang.org/show_bug.cgi?id=24204 Issue ID: 24204 Summary: Params section in ddoc comments causes warnings with unnamed parameters Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ddoc, diagnostic Severity: normal Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: elpenguin...@gmail.com Compile with `-D -w`: ``` /// Params: void foo(int) {} ``` In DMD 2.105.2, this produces a warning: `Warning: Ddoc: parameter count mismatch, expected 1, got 0` Unnamed parameters should be ignored. --
[Issue 24203] New: Params section in ddoc comments causes warnings with unnamed parameters
https://issues.dlang.org/show_bug.cgi?id=24203 Issue ID: 24203 Summary: Params section in ddoc comments causes warnings with unnamed parameters Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ddoc, diagnostic Severity: normal Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: elpenguin...@gmail.com Compile with `-D -w`: ``` /// Params: void foo(int) {} ``` In DMD 2.105.2, this produces a warning: `Warning: Ddoc: parameter count mismatch, expected 1, got 0` Unnamed parameters should be ignored. --
[Issue 24200] ImportC: .di file collected macro conflicts with Special Token
https://issues.dlang.org/show_bug.cgi?id=24200 --- Comment #2 from dave287...@gmail.com --- (In reply to Walter Bright from comment #1) > I don't really know what to do about that. D has a different set of keywords > than C does, and if D keywords are used in C code, how can it be translated > into D code? > > I expect that such generated .di files will need to be tweaked by hand. I think it’d be acceptable to just not emit them into the .di file. The __VERSION__ one especially as clang pre-defines that one and no one will want to use them. No one will want the conflicting macros anyway, but they currently prevent the .di file from being parsed. --
[Issue 24200] ImportC: .di file collected macro conflicts with Special Token
https://issues.dlang.org/show_bug.cgi?id=24200 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #1 from Walter Bright --- I don't really know what to do about that. D has a different set of keywords than C does, and if D keywords are used in C code, how can it be translated into D code? I expect that such generated .di files will need to be tweaked by hand. --
[Issue 24190] Identifier tokenizer is greedy steals new line characters
https://issues.dlang.org/show_bug.cgi?id=24190 kdevel changed: What|Removed |Added CC||kde...@vogtner.de --
[Issue 24121] ImportC: typedef enum fails to compile when generating .di file
https://issues.dlang.org/show_bug.cgi?id=24121 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from Dlang Bot --- dlang/dmd pull request #15736 "fix Issue 24121 - ImportC: typedef enum fails to compile when generat…" was merged into master: - 7a3ae70494706f49aa8b54f8752d3f2444523a41 by Walter Bright: fix Issue 24121 - ImportC: typedef enum fails to compile when generating .di file https://github.com/dlang/dmd/pull/15736 --
[Issue 24121] ImportC: typedef enum fails to compile when generating .di file
https://issues.dlang.org/show_bug.cgi?id=24121 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #7 from Dlang Bot --- @WalterBright created dlang/dmd pull request #15736 "fix Issue 24121 - ImportC: typedef enum fails to compile when generat…" fixing this issue: - fix Issue 24121 - ImportC: typedef enum fails to compile when generating .di file https://github.com/dlang/dmd/pull/15736 --