{"issue":{"title":"Solution 8.c wont compile","user":{"login":"Shawn-Smith","id":418071,"url":"https://api.github.com/users/Shawn-Smith","gravatar_id":"5e7b2cc661a9abf09d5c9e5fab1bbf87","avatar_url":"https://secure.gravatar.com/avatar/5e7b2cc661a9abf09d5c9e5fab1bbf87?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-26T00:43:35Z","milestone":null,"labels":[{"name":"Error","url":"https://api.github.com/repos/Shawn-Smith/Project-Euler/labels/Error","color":"e10c02"}],"state":"open","updated_at":"2011-12-26T00:43:35Z","id":2656293,"closed_at":null,"html_url":"https://github.com/Shawn-Smith/Project-Euler/issues/2","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":">Solution 8.c:4:18: error: string: No such file or directory\r\n>Solution 8.c:7: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before ânamespaceâ\r\n>Solution 8.c: In function âmainâ:\r\n>Solution 8.c:13: error: âstringâ undeclared (first use in this function)\r\n>Solution 8.c:13: error: (Each undeclared identifier is reported only once\r\n>Solution 8.c:13: error: for each function it appears in.)\r\n>Solution 8.c:13: error: expected â;â before ânumberâ\r\n>Solution 8.c:16: error: âforâ loop initial declarations are only allowed in C99 mode\r\n>Solution 8.c:16: note: use option -std=c99 or -std=gnu99 to compile your code\r\n>Solution 8.c:16: error: ânumberâ undeclared (first use in this function)\r\n\r\n------\r\nCompiles fine under g++, however.","number":2,"url":"https://api.github.com/repos/Shawn-Smith/Project-Euler/issues/2","comments":0,"assignee":null},"action":"opened"}