Skip to content

Some new warnings at compilation time #12

Description

@Atcold
/tmp/luarocks_paths-scm-1-4305/paths/paths.c: In function 'lua_tmpname':
/tmp/luarocks_paths-scm-1-4305/paths/paths.c:747:3: warning: 'tempnam' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of tempnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations]
   char *tmp = tempnam(NULL, "luatmp");
   ^
In file included from /usr/local/include/lauxlib.h:13:0,
                 from /tmp/luarocks_paths-scm-1-4305/paths/build/paths.h:4,
                 from /tmp/luarocks_paths-scm-1-4305/paths/paths.c:4:
/usr/include/stdio.h:391:7: note: declared here
 char *tempnam(const char *, const char *) __DARWIN_ALIAS(tempnam);
       ^

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions