{"action":"closed","issue":{"url":"https://api.github.com/repos/Araq/Nim/issues/2241","labels_url":"https://api.github.com/repos/Araq/Nim/issues/2241/labels{/name}","comments_url":"https://api.github.com/repos/Araq/Nim/issues/2241/comments","events_url":"https://api.github.com/repos/Araq/Nim/issues/2241/events","html_url":"https://github.com/Araq/Nim/issues/2241","id":59396731,"number":2241,"title":"install failed: undeclared identifier: 'defer'","user":{"login":"select","id":1164760,"avatar_url":"https://avatars.githubusercontent.com/u/1164760?v=3","gravatar_id":"","url":"https://api.github.com/users/select","html_url":"https://github.com/select","followers_url":"https://api.github.com/users/select/followers","following_url":"https://api.github.com/users/select/following{/other_user}","gists_url":"https://api.github.com/users/select/gists{/gist_id}","starred_url":"https://api.github.com/users/select/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/select/subscriptions","organizations_url":"https://api.github.com/users/select/orgs","repos_url":"https://api.github.com/users/select/repos","events_url":"https://api.github.com/users/select/events{/privacy}","received_events_url":"https://api.github.com/users/select/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-01T13:55:32Z","updated_at":"2015-03-01T14:14:12Z","closed_at":"2015-03-01T14:14:12Z","body":"I was following the official install instructions \r\n```\r\ngit clone -b master git://github.com/Araq/Nim.git\r\ncd Nim\r\ngit clone -b master --depth 1 git://github.com/nim-lang/csources\r\ncd csources && sh build.sh\r\ncd ..\r\nbin/nim c koch\r\n```\r\nbut the last line crashed\r\n```\r\n$ bin/nim c koch\r\nconfig/nim.cfg(53, 2) Hint: added path: '/home/select/.babel/pkgs/' [Path]\r\nconfig/nim.cfg(54, 2) Hint: added path: '/home/select/.nimble/pkgs/' [Path]\r\nHint: used config file '/home/select/bin/Nim/config/nim.cfg' [Conf]\r\nHint: used config file 'koch.nim.cfg' [Conf]\r\nHint: system [Processing]\r\nlib/system.nim(3131, 12) Warning: undeclared conditional symbol; use --symbol to declare it: nimnode [User]\r\nlib/system.nim(3222, 31) Warning: unknown magic 'ProcCall' might crash the compiler [UnknownMagic]\r\nHint: koch [Processing]\r\nHint: os [Processing]\r\nHint: strutils [Processing]\r\nHint: parseutils [Processing]\r\nHint: times [Processing]\r\nHint: posix [Processing]\r\nHint: parseopt [Processing]\r\nlib/pure/parseopt.nim(56, 34) Warning: quoteIfContainsWhite is deprecated [Deprecated]\r\nkoch.nim(19, 16) Warning: parseopt is deprecated [Deprecated]\r\nHint: osproc [Processing]\r\nHint: strtabs [Processing]\r\nHint: hashes [Processing]\r\nHint: streams [Processing]\r\nHint: cpuinfo [Processing]\r\nHint: linux [Processing]\r\nlib/pure/osproc.nim(647, 4) Error: undeclared identifier: 'defer'\r\n```\r\ndid i miss something?\r\n```\r\n$ cat /etc/issue\r\nUbuntu 14.10 \\n \\l\r\n$ uname -a\r\nLinux select 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:06:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\n"}}