{"action":"created","issue":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/4460","repository_url":"https://api.github.com/repos/nim-lang/Nim","labels_url":"https://api.github.com/repos/nim-lang/Nim/issues/4460/labels{/name}","comments_url":"https://api.github.com/repos/nim-lang/Nim/issues/4460/comments","events_url":"https://api.github.com/repos/nim-lang/Nim/issues/4460/events","html_url":"https://github.com/nim-lang/Nim/issues/4460","id":164244013,"number":4460,"title":".nim files cannot compile on windows 10 x64  nim version 0.14.2_x64","user":{"login":"as1ndu","id":4271996,"avatar_url":"https://avatars.githubusercontent.com/u/4271996?v=3","gravatar_id":"","url":"https://api.github.com/users/as1ndu","html_url":"https://github.com/as1ndu","followers_url":"https://api.github.com/users/as1ndu/followers","following_url":"https://api.github.com/users/as1ndu/following{/other_user}","gists_url":"https://api.github.com/users/as1ndu/gists{/gist_id}","starred_url":"https://api.github.com/users/as1ndu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/as1ndu/subscriptions","organizations_url":"https://api.github.com/users/as1ndu/orgs","repos_url":"https://api.github.com/users/as1ndu/repos","events_url":"https://api.github.com/users/as1ndu/events{/privacy}","received_events_url":"https://api.github.com/users/as1ndu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-07T07:12:02Z","updated_at":"2016-07-08T11:55:26Z","closed_at":"2016-07-08T08:57:19Z","body":"I was going through the Nim tutorial at http://nim-lang.org/docs/tut1.html  \r\nand can never get a program to compile.\r\n\r\n I get;\r\n```\r\nC:\\Users\\user\\Desktop\\nim>nim compile --run greetings.nim\r\nHint: used config file 'C:\\Nim\\config\\nim.cfg' [Conf]\r\nHint: system [Processing]\r\nHint: greetings [Processing]\r\nCC: greetings\r\nCC: stdlib_system\r\nIn file included from c:\\users\\user\\desktop\\nim\\nimcache\\stdlib_system.c:9:0:\r\nC:\\Nim\\lib/nimbase.h:456:13: error: size of array 'assert_numbits' is negative\r\n typedef int asIsne rfti_lneu mibnictlsu[dseidz eforfo(mN Ic): \\=u=s esrisz\\eaosf1(nvdoui\\dd*e)s k&t&o pN\\InMi_mI\\NnTiBmIcTaSc h=e=\\ gsriezeetoifn(gNsI.)c*8 ? 1 : -1];\r\n         : 9 : 0 :^\r\n\r\nC:\\Nim\\lib/nimbase.h:456:13: error: size of array 'assert_numbits' is negative\r\n typedef int assert_numbits[sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof(NI)*8 ? 1 : -1];\r\n             ^\r\nHint:  [Link]\r\ngcc.exe: error: c:\\users\\user\\desktop\\nim\\nimcache\\stdlib_system.o: No such file or directory\r\ngcc.exe: error: c:\\users\\user\\desktop\\nim\\nimcache\\greetings.o: No such file or directory\r\ngcc.exe: fatal error: no input files\r\ncompilation terminated.\r\nError: execution of an external program failed: 'gcc.exe   -o c:\\users\\user\\desktop\\nim\\greetings.exe  c:\\users\\user\\desktop\\nim\\nimcache\\stdlib_system.o c:\\users\\user\\desktop\\nim\\nimcache\\greetings.o  '\r\n\r\n\r\n```\r\n\r\nAlso installing packages with nimble e.g `nimble install nake `\r\nthwows an error, `Error: unhandled exception: Build failed for package: nimsuggest [BuildFailed]`\r\n\r\n\r\nI have MinGNU in my path.\r\n\r\nWhat could be the problem?"},"comment":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/comments/231341527","html_url":"https://github.com/nim-lang/Nim/issues/4460#issuecomment-231341527","issue_url":"https://api.github.com/repos/nim-lang/Nim/issues/4460","id":231341527,"user":{"login":"Varriount","id":524596,"avatar_url":"https://avatars.githubusercontent.com/u/524596?v=3","gravatar_id":"","url":"https://api.github.com/users/Varriount","html_url":"https://github.com/Varriount","followers_url":"https://api.github.com/users/Varriount/followers","following_url":"https://api.github.com/users/Varriount/following{/other_user}","gists_url":"https://api.github.com/users/Varriount/gists{/gist_id}","starred_url":"https://api.github.com/users/Varriount/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Varriount/subscriptions","organizations_url":"https://api.github.com/users/Varriount/orgs","repos_url":"https://api.github.com/users/Varriount/repos","events_url":"https://api.github.com/users/Varriount/events{/privacy}","received_events_url":"https://api.github.com/users/Varriount/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T11:55:26Z","updated_at":"2016-07-08T11:55:26Z","body":"@Araq perhaps one of the identifiers on that assertion line could be changed to become a message? Like 'Nim_and_C_compiler_disagree_on_target_architecture'? Either that, or the Nim compiler could scan for the error in output and display a supplementary message."}}
{"actor":{"display_login":"Varriount"}}