Summary: dmd should warn if `printf` is used on D strings
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Jonas H. <> 2012-04-09 08:19:32 PDT ---
string foo = "john";
printf("hello %s\n", foo);

doesn't work because `printf` expects a zero-terminated string.

The compiler should really yield a warning here.

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

Reply via email to