www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 24315] New: dmd/cpreprocess.d:87: warning: the use of

https://issues.dlang.org/show_bug.cgi?id=24315

          Issue ID: 24315
           Summary: dmd/cpreprocess.d:87: warning: the use of `tmpnam' is
                    dangerous, better use `mkstemp'
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

ld now gives the following warning when building dmd.

Offending line of code here:
https://github.com/dlang/dmd/blob/91e157558bd8a386cef97064f6a5d7c9f332b5d2/compiler/src/dmd/cpreprocess.d#L87

--
Jan 02