{"action":"created","issue":{"url":"https://api.github.com/repos/mniip/vtshot/issues/1","labels_url":"https://api.github.com/repos/mniip/vtshot/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mniip/vtshot/issues/1/comments","events_url":"https://api.github.com/repos/mniip/vtshot/issues/1/events","html_url":"https://github.com/mniip/vtshot/issues/1","id":72366818,"number":1,"title":"Compilation error","user":{"login":"chenshuiluke","id":7980284,"avatar_url":"https://avatars.githubusercontent.com/u/7980284?v=3","gravatar_id":"","url":"https://api.github.com/users/chenshuiluke","html_url":"https://github.com/chenshuiluke","followers_url":"https://api.github.com/users/chenshuiluke/followers","following_url":"https://api.github.com/users/chenshuiluke/following{/other_user}","gists_url":"https://api.github.com/users/chenshuiluke/gists{/gist_id}","starred_url":"https://api.github.com/users/chenshuiluke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenshuiluke/subscriptions","organizations_url":"https://api.github.com/users/chenshuiluke/orgs","repos_url":"https://api.github.com/users/chenshuiluke/repos","events_url":"https://api.github.com/users/chenshuiluke/events{/privacy}","received_events_url":"https://api.github.com/users/chenshuiluke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-01T06:22:58Z","updated_at":"2015-05-01T07:20:32Z","closed_at":"2015-05-01T07:05:08Z","body":"Running make gives me the following compilation error on Arch Linux 86_64: \r\n\r\n$ make\r\ngcc -c -O3  -o gif.o -c gif.c\r\ngif.c: In function ‘write_gif’:\r\ngif.c:16:48: error: ‘FALSE’ undeclared (first use in this function)\r\n  GifFileType *gif = EGifOpenFileName(filename, FALSE);\r\n                                                ^\r\ngif.c:16:48: note: each undeclared identifier is reported only once for each function it appears in\r\ngif.c:16:21: error: too few arguments to function ‘EGifOpenFileName’\r\n  GifFileType *gif = EGifOpenFileName(filename, FALSE);\r\n                     ^\r\nIn file included from gif.c:3:0:\r\n/usr/include/gif_lib.h:126:14: note: declared here\r\n GifFileType *EGifOpenFileName(const char *GifFileName,\r\n              ^\r\ngif.c:20:35: warning: initialization makes pointer from integer without a cast\r\n  ColorMapObject *global_palette = MakeMapObject(palette_size, NULL);\r\n                                   ^\r\ngif.c:47:18: error: too few arguments to function ‘EGifCloseFile’\r\n  if(GIF_ERROR == EGifCloseFile(gif))\r\n                  ^\r\nIn file included from gif.c:3:0:\r\n/usr/include/gif_lib.h:132:5: note: declared here\r\n int EGifCloseFile(GifFileType *GifFile, int *ErrorCode);\r\n     ^\r\ngif.c: In function ‘write_gif_sequence’:\r\ngif.c:55:48: error: ‘FALSE’ undeclared (first use in this function)\r\n  GifFileType *gif = EGifOpenFileName(filename, FALSE);\r\n                                                ^\r\ngif.c:55:21: error: too few arguments to function ‘EGifOpenFileName’\r\n  GifFileType *gif = EGifOpenFileName(filename, FALSE);\r\n                     ^\r\nIn file included from gif.c:3:0:\r\n/usr/include/gif_lib.h:126:14: note: declared here\r\n GifFileType *EGifOpenFileName(const char *GifFileName,\r\n              ^\r\ngif.c:58:35: warning: initialization makes pointer from integer without a cast\r\n  ColorMapObject *global_palette = MakeMapObject(2, NULL);\r\n                                   ^\r\ngif.c:126:35: warning: initialization makes pointer from integer without a cast\r\n   ColorMapObject *local_palette = MakeMapObject(palette_size, NULL);\r\n                                   ^\r\ngif.c:166:18: error: too few arguments to function ‘EGifCloseFile’\r\n  if(GIF_ERROR == EGifCloseFile(gif))\r\n                  ^\r\nIn file included from gif.c:3:0:\r\n/usr/include/gif_lib.h:132:5: note: declared here\r\n int EGifCloseFile(GifFileType *GifFile, int *ErrorCode);\r\n     ^\r\nMakefile:11: recipe for target 'gif.o' failed\r\nmake: *** [gif.o] Error 1\r\n"},"comment":{"url":"https://api.github.com/repos/mniip/vtshot/issues/comments/98063026","html_url":"https://github.com/mniip/vtshot/issues/1#issuecomment-98063026","issue_url":"https://api.github.com/repos/mniip/vtshot/issues/1","id":98063026,"user":{"login":"chenshuiluke","id":7980284,"avatar_url":"https://avatars.githubusercontent.com/u/7980284?v=3","gravatar_id":"","url":"https://api.github.com/users/chenshuiluke","html_url":"https://github.com/chenshuiluke","followers_url":"https://api.github.com/users/chenshuiluke/followers","following_url":"https://api.github.com/users/chenshuiluke/following{/other_user}","gists_url":"https://api.github.com/users/chenshuiluke/gists{/gist_id}","starred_url":"https://api.github.com/users/chenshuiluke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenshuiluke/subscriptions","organizations_url":"https://api.github.com/users/chenshuiluke/orgs","repos_url":"https://api.github.com/users/chenshuiluke/repos","events_url":"https://api.github.com/users/chenshuiluke/events{/privacy}","received_events_url":"https://api.github.com/users/chenshuiluke/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T07:20:32Z","updated_at":"2015-05-01T07:20:32Z","body":"$ make\r\ngcc -c -O3  -o gif.o -c gif.c\r\ngif.c: In function ‘write_gif’:\r\ngif.c:29:21: error: too few arguments to function ‘EGifOpenFileName’\r\n  GifFileType *gif = EGifOpenFileName(filename, 0);\r\n                     ^\r\nIn file included from gif.c:3:0:\r\n/usr/include/gif_lib.h:126:14: note: declared here\r\n GifFileType *EGifOpenFileName(const char *GifFileName,\r\n              ^\r\ngif.c: In function ‘write_gif_sequence’:\r\ngif.c:68:21: error: too few arguments to function ‘EGifOpenFileName’\r\n  GifFileType *gif = EGifOpenFileName(filename, 0);\r\n                     ^\r\nIn file included from gif.c:3:0:\r\n/usr/include/gif_lib.h:126:14: note: declared here\r\n GifFileType *EGifOpenFileName(const char *GifFileName,\r\n              ^\r\nMakefile:11: recipe for target 'gif.o' failed\r\nmake: *** [gif.o] Error 1"}}