{"action":"created","issue":{"url":"https://api.github.com/repos/docopt/docopt.d/issues/3","labels_url":"https://api.github.com/repos/docopt/docopt.d/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/docopt/docopt.d/issues/3/comments","events_url":"https://api.github.com/repos/docopt/docopt.d/issues/3/events","html_url":"https://github.com/docopt/docopt.d/issues/3","id":80438944,"number":3,"title":"Compiling docopt with gdc","user":{"login":"grogancolin","id":4712786,"avatar_url":"https://avatars.githubusercontent.com/u/4712786?v=3","gravatar_id":"","url":"https://api.github.com/users/grogancolin","html_url":"https://github.com/grogancolin","followers_url":"https://api.github.com/users/grogancolin/followers","following_url":"https://api.github.com/users/grogancolin/following{/other_user}","gists_url":"https://api.github.com/users/grogancolin/gists{/gist_id}","starred_url":"https://api.github.com/users/grogancolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grogancolin/subscriptions","organizations_url":"https://api.github.com/users/grogancolin/orgs","repos_url":"https://api.github.com/users/grogancolin/repos","events_url":"https://api.github.com/users/grogancolin/events{/privacy}","received_events_url":"https://api.github.com/users/grogancolin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-25T07:54:07Z","updated_at":"2015-05-25T15:34:10Z","closed_at":null,"body":"I have docopt as a dependancy on one of my projects, when compiling via gdc, this is the output:\r\n\r\n```\r\n $ dub build --compiler=gdc\r\nBuilding docopt 0.6.1-b.2 configuration \"library\", build type debug.\r\nRunning gdc...\r\n../../.dub/packages/docopt-0.6.1-b.2/source/docopt.d:59: error: std.algorithm.indexOf!(\"a == b\", string, string).indexOf at /usr/include/d/4.8/std/algorithm.d:4828 conflicts with std.string.indexOf!(char, char).indexOf at /usr/include/d/4.8/std/string.d:412\r\n../../.dub/packages/docopt-0.6.1-b.2/source/docopt.d:59: error: function std.algorithm.indexOf!(\"a == b\", string, string).indexOf is deprecated - Please use std.algorithm.countUntil instead.\r\n../../.dub/packages/docopt-0.6.1-b.2/source/docopt.d:84: error: std.algorithm.indexOf!(\"a == b\", string, string).indexOf at /usr/include/d/4.8/std/algorithm.d:4828 conflicts with std.string.indexOf!(char, char).indexOf at /usr/include/d/4.8/std/string.d:412\r\n../../.dub/packages/docopt-0.6.1-b.2/source/docopt.d:84: error: function std.algorithm.indexOf!(\"a == b\", string, string).indexOf is deprecated - Please use std.algorithm.countUntil instead.\r\n../../.dub/packages/docopt-0.6.1-b.2/source/docopt.d:264: error: no property 'among' for type 'string'\r\n../../.dub/packages/docopt-0.6.1-b.2/source/docopt.d:309: error: no property 'among' for type 'string'\r\n../../.dub/packages/docopt-0.6.1-b.2/source/docopt.d:508: error: no property 'toPrettyString' for type 'JSONValue'\r\ncc1d: all warnings being treated as errors\r\n```\r\n\r\nSome are deprecation warnings so should be easy fix.\r\nHaven't investigated the others in-depth yet...\r\n\r\nCompiling with:\r\n```\r\n$ gdc --version\r\ngdc (Ubuntu 4.8.2-19ubuntu1) 4.8.2\r\nCopyright (C) 2013 Free Software Foundation, Inc.\r\nThis is free software; see the source for copying conditions.  There is NO\r\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/docopt/docopt.d/issues/comments/105252808","html_url":"https://github.com/docopt/docopt.d/issues/3#issuecomment-105252808","issue_url":"https://api.github.com/repos/docopt/docopt.d/issues/3","id":105252808,"user":{"login":"rwtolbert","id":283685,"avatar_url":"https://avatars.githubusercontent.com/u/283685?v=3","gravatar_id":"","url":"https://api.github.com/users/rwtolbert","html_url":"https://github.com/rwtolbert","followers_url":"https://api.github.com/users/rwtolbert/followers","following_url":"https://api.github.com/users/rwtolbert/following{/other_user}","gists_url":"https://api.github.com/users/rwtolbert/gists{/gist_id}","starred_url":"https://api.github.com/users/rwtolbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwtolbert/subscriptions","organizations_url":"https://api.github.com/users/rwtolbert/orgs","repos_url":"https://api.github.com/users/rwtolbert/repos","events_url":"https://api.github.com/users/rwtolbert/events{/privacy}","received_events_url":"https://api.github.com/users/rwtolbert/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T15:34:10Z","updated_at":"2015-05-25T15:34:10Z","body":"ok, I've updated to 0.6.1-b.3\r\n\r\nthis also spurred me to add more of the tests to unittest so dub test always runs them\r\n\r\ntests pass with \r\n\r\n\t> dmd --version                                                               \r\n\tDMD64 D Compiler v2.067.1\r\n\t\r\n\t> gdc --version\r\n\tgdc (Ubuntu 4.8.2-19ubuntu1) 4.8.2\r\n\t\r\n\t> ldc2 --version \r\n\tLDC - the LLVM D compiler (0.15.2-beta1):\r\n\t  based on DMD v2.066.1 and LLVM 3.6.0\r\n\t  Default target: x86_64-unknown-linux-gnu\r\n\t  Host CPU: corei7\r\n\t  http://dlang.org - http://wiki.dlang.org/LDC\r\n\t\r\n\t  Registered Targets:\r\n\t    x86    - 32-bit X86: Pentium-Pro and above\r\n\t    x86-64 - 64-bit X86: EM64T and AMD64"}}