{"action":"created","issue":{"url":"https://api.github.com/repos/mruby/mruby/issues/2140","labels_url":"https://api.github.com/repos/mruby/mruby/issues/2140/labels{/name}","comments_url":"https://api.github.com/repos/mruby/mruby/issues/2140/comments","events_url":"https://api.github.com/repos/mruby/mruby/issues/2140/events","html_url":"https://github.com/mruby/mruby/issues/2140","id":32313443,"number":2140,"title":"mrb_float_to_str does not work with DISABLE_STDIO","user":{"login":"XanClic","id":3393978,"avatar_url":"https://avatars.githubusercontent.com/u/3393978?v=3","gravatar_id":"","url":"https://api.github.com/users/XanClic","html_url":"https://github.com/XanClic","followers_url":"https://api.github.com/users/XanClic/followers","following_url":"https://api.github.com/users/XanClic/following{/other_user}","gists_url":"https://api.github.com/users/XanClic/gists{/gist_id}","starred_url":"https://api.github.com/users/XanClic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XanClic/subscriptions","organizations_url":"https://api.github.com/users/XanClic/orgs","repos_url":"https://api.github.com/users/XanClic/repos","events_url":"https://api.github.com/users/XanClic/events{/privacy}","received_events_url":"https://api.github.com/users/XanClic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-04-27T15:20:49Z","updated_at":"2015-02-27T08:53:51Z","closed_at":null,"body":"With DISABLE_STDIO defined, mruby will not include stdio.h (as expected and desired). mrb_float_to_str will however use sprintf() for the conversion which then fails during the build because of the implicit declaration."},"comment":{"url":"https://api.github.com/repos/mruby/mruby/issues/comments/76358042","html_url":"https://github.com/mruby/mruby/issues/2140#issuecomment-76358042","issue_url":"https://api.github.com/repos/mruby/mruby/issues/2140","id":76358042,"user":{"login":"cremno","id":212792,"avatar_url":"https://avatars.githubusercontent.com/u/212792?v=3","gravatar_id":"","url":"https://api.github.com/users/cremno","html_url":"https://github.com/cremno","followers_url":"https://api.github.com/users/cremno/followers","following_url":"https://api.github.com/users/cremno/following{/other_user}","gists_url":"https://api.github.com/users/cremno/gists{/gist_id}","starred_url":"https://api.github.com/users/cremno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cremno/subscriptions","organizations_url":"https://api.github.com/users/cremno/orgs","repos_url":"https://api.github.com/users/cremno/repos","events_url":"https://api.github.com/users/cremno/events{/privacy}","received_events_url":"https://api.github.com/users/cremno/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T08:53:51Z","updated_at":"2015-02-27T08:53:51Z","body":"@matz: This issue can be closed. Since the merge of #2723 `mrb_float_to_str()` can be used regardless of `ENABLE_STDIO` / `DISABLE_STDIO`."}}