Thread overview
[Issue 22069] importC: Error: found '&' instead of statement
Jun 22, 2021
Iain Buclaw
Jun 22, 2021
Iain Buclaw
Jun 23, 2021
Dlang Bot
Jun 24, 2021
Dlang Bot
June 22, 2021
https://issues.dlang.org/show_bug.cgi?id=22069

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ImportC, rejects-valid
                 CC|                            |ibuclaw@gdcproject.org

--
June 22, 2021
https://issues.dlang.org/show_bug.cgi?id=22069

--- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> ---
(In reply to Iain Buclaw from comment #0)
> This code is valid as per the grammar, but rejected.
... but rejected by dmd importC.  Other C compilers silently accept it.

--
June 23, 2021
https://issues.dlang.org/show_bug.cgi?id=22069

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ibuclaw created dlang/dmd pull request #12742 "fix Issue 22069 - importC: Error: found '&' instead of statement" fixing this issue:

- fix Issue 22069 - importC: Error: found '&' instead of statement

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

--
June 24, 2021
https://issues.dlang.org/show_bug.cgi?id=22069

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #12742 "fix Issue 22069 - importC: Error: found '&' instead of statement" was merged into master:

- 97eaf1682bf3f923d8bc7aceebc1869ce4bf4dec by Iain Buclaw:
  fix Issue 22069 - importC: Error: found '&' instead of statement

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

--