Thread overview
[Issue 22411] importC: Error: cannot implicitly convert expression of type 'const(char*)' to 'char*'
Oct 17, 2021
Iain Buclaw
Oct 17, 2021
Iain Buclaw
Oct 17, 2021
Dlang Bot
Oct 19, 2021
Dlang Bot
Oct 21, 2021
Dlang Bot
October 17, 2021
https://issues.dlang.org/show_bug.cgi?id=22411

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> ---
This code is a warning is gcc, but not an error.

--
October 17, 2021
https://issues.dlang.org/show_bug.cgi?id=22411

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ImportC, rejects-valid

--
October 17, 2021
https://issues.dlang.org/show_bug.cgi?id=22411

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 #13186 "fix Issue 22411 - importC: Error: cannot implicitly convert expression of type 'const(char*)' to 'char*'" fixing this issue:

- fix Issue 22411 - importC: Error: cannot implicitly convert expression of type 'const(char*)' to 'char*'

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

--
October 19, 2021
https://issues.dlang.org/show_bug.cgi?id=22411

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 #13186 "fix Issue 22411 - importC: Error: cannot implicitly convert expression of type 'const(char*)' to 'char*'" was merged into stable:

- 0b71439a16714679fa7eb26751fd55cedb8017a3 by Iain Buclaw:
  fix Issue 22411 - importC: Error: cannot implicitly convert expression of
type 'const(char*)' to 'char*'

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

--
October 21, 2021
https://issues.dlang.org/show_bug.cgi?id=22411

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #13209 "Merge stable into master" was merged into master:

- ba950023e142b580ac2cd844e83a0bcb8fc73204 by Iain Buclaw:
  fix Issue 22411 - importC: Error: cannot implicitly convert expression of
type 'const(char*)' to 'char*' (#13186)

  The autotester failure is a spurious one:
https://issues.dlang.org/show_bug.cgi?id=22350

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

--