Summary: immutable(char)** is not convertable to const(char)**
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from David <> 2012-06-23 04:00:05 PDT ---
This Code:

void foo(const(char)** arg) {}
void main() {
    string yay = "fun";
    auto yay_data = yay.ptr;


Produces this Error:

Error: function (const(char)** arg) is not callable using
argument types (immutable(char)**)
Error: cannot implicitly convert expression (& yay_data) of type
immutable(char)** to const(char)**

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to