{"action":"created","issue":{"url":"https://api.github.com/repos/shreepads/pdfcrack-mp/issues/23","repository_url":"https://api.github.com/repos/shreepads/pdfcrack-mp","labels_url":"https://api.github.com/repos/shreepads/pdfcrack-mp/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/shreepads/pdfcrack-mp/issues/23/comments","events_url":"https://api.github.com/repos/shreepads/pdfcrack-mp/issues/23/events","html_url":"https://github.com/shreepads/pdfcrack-mp/issues/23","id":159079436,"number":23,"title":"Compile error - for loop declaration","user":{"login":"donjulioanejo","id":16597530,"avatar_url":"https://avatars.githubusercontent.com/u/16597530?v=3","gravatar_id":"","url":"https://api.github.com/users/donjulioanejo","html_url":"https://github.com/donjulioanejo","followers_url":"https://api.github.com/users/donjulioanejo/followers","following_url":"https://api.github.com/users/donjulioanejo/following{/other_user}","gists_url":"https://api.github.com/users/donjulioanejo/gists{/gist_id}","starred_url":"https://api.github.com/users/donjulioanejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donjulioanejo/subscriptions","organizations_url":"https://api.github.com/users/donjulioanejo/orgs","repos_url":"https://api.github.com/users/donjulioanejo/repos","events_url":"https://api.github.com/users/donjulioanejo/events{/privacy}","received_events_url":"https://api.github.com/users/donjulioanejo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-08T05:05:57Z","updated_at":"2016-06-08T06:30:58Z","closed_at":null,"body":"Attempting to compile on RHEL 7.2 (Maipo) yields the following error:\r\n\r\n`passwords.c:196:2: error: ‘for’ loop initial declarations are only allowed in C99 mode\r\n  for (unsigned int i=0; i<patternLen; i++)`\r\n\r\nRed Hat Enterprise Linux Server release 7.2 (Maipo)"},"comment":{"url":"https://api.github.com/repos/shreepads/pdfcrack-mp/issues/comments/224501204","html_url":"https://github.com/shreepads/pdfcrack-mp/issues/23#issuecomment-224501204","issue_url":"https://api.github.com/repos/shreepads/pdfcrack-mp/issues/23","id":224501204,"user":{"login":"shreepads","id":12682170,"avatar_url":"https://avatars.githubusercontent.com/u/12682170?v=3","gravatar_id":"","url":"https://api.github.com/users/shreepads","html_url":"https://github.com/shreepads","followers_url":"https://api.github.com/users/shreepads/followers","following_url":"https://api.github.com/users/shreepads/following{/other_user}","gists_url":"https://api.github.com/users/shreepads/gists{/gist_id}","starred_url":"https://api.github.com/users/shreepads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreepads/subscriptions","organizations_url":"https://api.github.com/users/shreepads/orgs","repos_url":"https://api.github.com/users/shreepads/repos","events_url":"https://api.github.com/users/shreepads/events{/privacy}","received_events_url":"https://api.github.com/users/shreepads/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T06:30:57Z","updated_at":"2016-06-08T06:30:57Z","body":"Ok makes sense. Actually this is a problem on some distros not all. On some\nGCC uses c99 by default. Can add this to issue #22.\n\nIf you can open a new one for the overflow error I can take a look on the\nweekend.\n\nAre you using one of the test PDFs? If not can you see if its not a new pdf\nversion causing the problem? See issue # 16 and 18 just in case.\nOn 08-Jun-2016 11:34 AM, \"donjulioanejo\" <notifications@github.com> wrote:\n\n> Sorry, I realized I was looking at a slightly wrong section. I've edited\n> the post above with the actual error, however this is resolved pretty\n> easily by adding the -std=c99 flag in Makefile:\n>\n> CFLAGS += -Wall -Wextra -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64\n> -D_LARGEFILE64_SOURCE -O3 -g -fopenmp -std=c99\n>\n> Sadly, getting a buffer overflow when trying to run make test, and trying\n> to run brute force against an actual PDF file results in it only running on\n> a single core no matter what command-line options I use.\n>\n> I wish I knew any C to actually troubleshoot it.\n>\n> PS: I didn't even know about this until an hour ago 😃\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/shreepads/pdfcrack-mp/issues/23#issuecomment-224496975>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe/AMGDujSCUfGJMrQqh4E2CyzgOvmDPlSMks5qJltQgaJpZM4IwmMO>\n> .\n>\n"}}
{"actor":{"display_login":"shreepads"}}