{"action":"created","issue":{"url":"https://api.github.com/repos/ikalnitsky/termcolor/issues/12","repository_url":"https://api.github.com/repos/ikalnitsky/termcolor","labels_url":"https://api.github.com/repos/ikalnitsky/termcolor/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ikalnitsky/termcolor/issues/12/comments","events_url":"https://api.github.com/repos/ikalnitsky/termcolor/issues/12/events","html_url":"https://github.com/ikalnitsky/termcolor/issues/12","id":153603561,"number":12,"title":"Compile problem","user":{"login":"naydef","id":14336376,"avatar_url":"https://avatars.githubusercontent.com/u/14336376?v=3","gravatar_id":"","url":"https://api.github.com/users/naydef","html_url":"https://github.com/naydef","followers_url":"https://api.github.com/users/naydef/followers","following_url":"https://api.github.com/users/naydef/following{/other_user}","gists_url":"https://api.github.com/users/naydef/gists{/gist_id}","starred_url":"https://api.github.com/users/naydef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naydef/subscriptions","organizations_url":"https://api.github.com/users/naydef/orgs","repos_url":"https://api.github.com/users/naydef/repos","events_url":"https://api.github.com/users/naydef/events{/privacy}","received_events_url":"https://api.github.com/users/naydef/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ikalnitsky/termcolor/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-05-07T16:35:48Z","updated_at":"2016-06-17T12:31:00Z","closed_at":"2016-06-17T12:31:00Z","body":"```\r\n||=== Build: Release in *** (compiler: GNU GCC Compiler) ===|\r\nC:\\Users\\Geo\\Desktop\\DBG\\SteamServerQuery\\termcolor.hpp||In function 'bool termcolor::_internal::is_atty(const ostream&)':|\r\nC:\\Users\\Geo\\Desktop\\DBG\\SteamServerQuery\\termcolor.hpp|452|error: '_fileno' was not declared in this scope|\r\nC:\\Users\\Geo\\Desktop\\DBG\\SteamServerQuery\\termcolor.hpp||In function 'bool termcolor::_internal::is_atty(const ostream&)':|\r\nC:\\Users\\Geo\\Desktop\\DBG\\SteamServerQuery\\termcolor.hpp|454|warning: control reaches end of non-void function [-Wreturn-type]|\r\n||=== Build failed: 1 error(s), 3 warning(s) (0 minute(s), 1 second(s)) ===|\r\n```\r\n\r\nError lines:\r\n```cpp\r\n//! Test whether a given `std::ostream` object refers to\r\n        //! a terminal.\r\n        inline\r\n        bool is_atty(const std::ostream& stream)\r\n        {\r\n            FILE* std_stream = get_standard_stream(stream);\r\n\r\n        #if defined(TERMCOLOR_OS_MACOS) || defined(TERMCOLOR_OS_LINUX)\r\n            return ::isatty(fileno(std_stream));\r\n        #elif defined(TERMCOLOR_OS_WINDOWS)\r\n            return ::_isatty(_fileno(std_stream));\r\n        #endif\r\n        }\r\n```\r\nCompiler: TDM-GCC 4.9.2\r\nIDE: CodeBlocks 16.01\r\n\r\nSolution?"},"comment":{"url":"https://api.github.com/repos/ikalnitsky/termcolor/issues/comments/226756747","html_url":"https://github.com/ikalnitsky/termcolor/issues/12#issuecomment-226756747","issue_url":"https://api.github.com/repos/ikalnitsky/termcolor/issues/12","id":226756747,"user":{"login":"naydef","id":14336376,"avatar_url":"https://avatars.githubusercontent.com/u/14336376?v=3","gravatar_id":"","url":"https://api.github.com/users/naydef","html_url":"https://github.com/naydef","followers_url":"https://api.github.com/users/naydef/followers","following_url":"https://api.github.com/users/naydef/following{/other_user}","gists_url":"https://api.github.com/users/naydef/gists{/gist_id}","starred_url":"https://api.github.com/users/naydef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naydef/subscriptions","organizations_url":"https://api.github.com/users/naydef/orgs","repos_url":"https://api.github.com/users/naydef/repos","events_url":"https://api.github.com/users/naydef/events{/privacy}","received_events_url":"https://api.github.com/users/naydef/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T12:31:00Z","updated_at":"2016-06-17T12:31:00Z","body":"You're right @ikalnitsky , now it compiles correctly and works. Thanks\r\nI will close this issue"}}
{"actor":{"display_login":"naydef"}}