Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some new warnings at compilation time #12

Open
Atcold opened this issue Aug 7, 2015 · 0 comments
Open

Some new warnings at compilation time #12

Atcold opened this issue Aug 7, 2015 · 0 comments

Comments

@Atcold
Copy link

Atcold commented Aug 7, 2015

/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);
       ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant