{"action":"created","issue":{"url":"https://api.github.com/repos/torch/paths/issues/18","repository_url":"https://api.github.com/repos/torch/paths","labels_url":"https://api.github.com/repos/torch/paths/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/torch/paths/issues/18/comments","events_url":"https://api.github.com/repos/torch/paths/issues/18/events","html_url":"https://github.com/torch/paths/issues/18","id":124567330,"number":18,"title":"Fails to build with Lua 5.3","user":{"login":"alexbw","id":161935,"avatar_url":"https://avatars.githubusercontent.com/u/161935?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbw","html_url":"https://github.com/alexbw","followers_url":"https://api.github.com/users/alexbw/followers","following_url":"https://api.github.com/users/alexbw/following{/other_user}","gists_url":"https://api.github.com/users/alexbw/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbw/subscriptions","organizations_url":"https://api.github.com/users/alexbw/orgs","repos_url":"https://api.github.com/users/alexbw/repos","events_url":"https://api.github.com/users/alexbw/events{/privacy}","received_events_url":"https://api.github.com/users/alexbw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-01T23:42:51Z","updated_at":"2016-02-03T21:01:23Z","closed_at":"2016-02-03T21:01:23Z","body":"Don't know if this is a priority at all, but paths fails to build against Lua 5.3\r\n\r\n```\r\n\r\n-- The C compiler identification is AppleClang 7.0.2.7000181\r\n-- The CXX compiler identification is AppleClang 7.0.2.7000181\r\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc\r\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++\r\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- Looking for include file fcntl.h\r\n-- Looking for include file fcntl.h - found\r\n-- Looking for include file unistd.h\r\n-- Looking for include file unistd.h - found\r\n-- Looking for include file dirent.h\r\n-- Looking for include file dirent.h - found\r\n-- Looking for include file time.h\r\n-- Looking for include file time.h - found\r\n-- Looking for include file sys/time.h\r\n-- Looking for include file sys/time.h - found\r\n-- Looking for include file sys/ndir.h\r\n-- Looking for include file sys/ndir.h - not found\r\n-- Looking for include file sys/utsname.h\r\n-- Looking for include file sys/utsname.h - found\r\n-- Looking for include file sys/dir.h\r\n-- Looking for include file sys/dir.h - found\r\n-- Looking for include file ndir.h\r\n-- Looking for include file ndir.h - not found\r\n-- Looking for getcwd\r\n-- Looking for getcwd - found\r\n-- Looking for dlopen in dl\r\n-- Looking for dlopen in dl - found\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /tmp/luarocks_paths-scm-1-9371/paths/build\r\nScanning dependencies of target paths\r\n[ 50%] Building C object CMakeFiles/paths.dir/paths.c.o\r\n/tmp/luarocks_paths-scm-1-9371/paths/paths.c:747:15: warning: 'tempnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of\r\n      tempnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations]\r\n  char *tmp = tempnam(NULL, \"luatmp\");\r\n              ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/stdio.h:391:7: note: 'tempnam' has been explicitly marked deprecated here\r\nchar    *tempnam(const char *, const char *) __DARWIN_ALIAS(tempnam);\r\n         ^\r\n/tmp/luarocks_paths-scm-1-9371/paths/paths.c:1012:20: error: use of undeclared identifier 'LUA_PATHSEP'\r\n  while (*path == *LUA_PATHSEP) path++;  /* skip separators */\r\n                   ^\r\n/tmp/luarocks_paths-scm-1-9371/paths/paths.c:1014:21: error: use of undeclared identifier 'LUA_PATHSEP'\r\n  l = strchr(path, *LUA_PATHSEP);  /* find next separator */\r\n                    ^\r\n/tmp/luarocks_paths-scm-1-9371/paths/paths.c:1139:3: warning: implicit declaration of function 'luaL_register' is invalid in C99 [-Wimplicit-function-declaration]\r\n  luaL_register(L, NULL, paths__);\r\n  ^\r\n2 warnings and 2 errors generated.\r\nmake[2]: *** [CMakeFiles/paths.dir/paths.c.o] Error 1\r\nmake[1]: *** [CMakeFiles/paths.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```"},"comment":{"url":"https://api.github.com/repos/torch/paths/issues/comments/179464160","html_url":"https://github.com/torch/paths/issues/18#issuecomment-179464160","issue_url":"https://api.github.com/repos/torch/paths/issues/18","id":179464160,"user":{"login":"soumith","id":1310570,"avatar_url":"https://avatars.githubusercontent.com/u/1310570?v=3","gravatar_id":"","url":"https://api.github.com/users/soumith","html_url":"https://github.com/soumith","followers_url":"https://api.github.com/users/soumith/followers","following_url":"https://api.github.com/users/soumith/following{/other_user}","gists_url":"https://api.github.com/users/soumith/gists{/gist_id}","starred_url":"https://api.github.com/users/soumith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumith/subscriptions","organizations_url":"https://api.github.com/users/soumith/orgs","repos_url":"https://api.github.com/users/soumith/repos","events_url":"https://api.github.com/users/soumith/events{/privacy}","received_events_url":"https://api.github.com/users/soumith/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T21:01:23Z","updated_at":"2016-02-03T21:01:23Z","body":"fixed in trunk"}}