{"action":"created","issue":{"url":"https://api.github.com/repos/pocoproject/poco/issues/1071","labels_url":"https://api.github.com/repos/pocoproject/poco/issues/1071/labels{/name}","comments_url":"https://api.github.com/repos/pocoproject/poco/issues/1071/comments","events_url":"https://api.github.com/repos/pocoproject/poco/issues/1071/events","html_url":"https://github.com/pocoproject/poco/issues/1071","id":121321232,"number":1071,"title":"Problems during compilation of Poco on Windows with MinGW and Cywgin","user":{"login":"AliceCH","id":16000478,"avatar_url":"https://avatars.githubusercontent.com/u/16000478?v=3","gravatar_id":"","url":"https://api.github.com/users/AliceCH","html_url":"https://github.com/AliceCH","followers_url":"https://api.github.com/users/AliceCH/followers","following_url":"https://api.github.com/users/AliceCH/following{/other_user}","gists_url":"https://api.github.com/users/AliceCH/gists{/gist_id}","starred_url":"https://api.github.com/users/AliceCH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AliceCH/subscriptions","organizations_url":"https://api.github.com/users/AliceCH/orgs","repos_url":"https://api.github.com/users/AliceCH/repos","events_url":"https://api.github.com/users/AliceCH/events{/privacy}","received_events_url":"https://api.github.com/users/AliceCH/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pocoproject/poco/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"zosrothko","id":7262593,"avatar_url":"https://avatars.githubusercontent.com/u/7262593?v=3","gravatar_id":"","url":"https://api.github.com/users/zosrothko","html_url":"https://github.com/zosrothko","followers_url":"https://api.github.com/users/zosrothko/followers","following_url":"https://api.github.com/users/zosrothko/following{/other_user}","gists_url":"https://api.github.com/users/zosrothko/gists{/gist_id}","starred_url":"https://api.github.com/users/zosrothko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zosrothko/subscriptions","organizations_url":"https://api.github.com/users/zosrothko/orgs","repos_url":"https://api.github.com/users/zosrothko/repos","events_url":"https://api.github.com/users/zosrothko/events{/privacy}","received_events_url":"https://api.github.com/users/zosrothko/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-12-09T19:32:28Z","updated_at":"2015-12-10T03:53:44Z","closed_at":null,"body":"Hi,\r\n\r\nI have a project in Qt that works perfectly with Poco libs on linux, I needed to test this project on Windows, so I install Poco on Windows (Virtual Machine). \r\n\r\nFirst I use Cygwin to compile it  and the installation ended perfectly with no error what so ever, how ever when I try to run my project I got so errors that let me believe that something when wrong during the installation of Poco.\r\n\r\nHere are the errors I'm getting\r\n\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:55: error: '_RC_DOWN' \r\n    was not declared in this scope\r\n       FP_ROUND_DOWNWARD_IMPL   = _RC_DOWN\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:56: error: '_RC_UP' \r\n    was not declared in this scope\r\n       FP_ROUND_UPWARD_IMPL     = _RC_UP\r\n\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:57: error: '_RC_NEAR' \r\n    was not declared in this scope\r\n        FP_ROUND_TONEAREST_IMPL  = _RC_NEAR\r\n\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:58: error: '_RC_CHOP' \r\n    was not declared in this scope\r\n       FP_ROUND_TOWARDZERO_IMPL = _RC_CHOP\r\n\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:-1: In static member function 'static bool \r\n    Poco::FPEnvironmentImpl::isInfiniteImpl(float)':\r\n\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:97: error: '_finite' \r\n    was not declared in this scope\r\n      return _finite(value) == 0;\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:-1: In static member function 'static bool \r\n    Poco::FPEnvironmentImpl::isInfiniteImpl(double)':\r\n\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:103: error: '_finite' \r\n    was not declared in this scope\r\n      return _finite(value) == 0;\r\n\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:-1: In static member function 'static bool \r\n    Poco::FPEnvironmentImpl::isInfiniteImpl(long double)':\r\n\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:109: error: '_finite' \r\n    was not declared in this scope\r\n      return _finite(value) == 0;\r\n\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:-1: In static member function 'static bool \r\n    Poco::FPEnvironmentImpl::isNaNImpl(float)':\r\n\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:115: error: '_isnan' \r\n    was not declared in this scope\r\n      return _isnan(value) != 0;\r\n\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:-1: In static member function 'static bool \r\n    Poco::FPEnvironmentImpl::isNaNImpl(double)':\r\n\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:121: error: '_isnan' \r\n    was not declared in this scope\r\n        return _isnan(value) != 0;\r\n\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:-1: In static member function 'static bool \r\n    Poco::FPEnvironmentImpl::isNaNImpl(long double)':\r\n\r\n    C:\\cygwin\\usr\\include\\Poco\\FPEnvironment_WIN32.h:127: error: '_isnan' \r\n    was not declared in this scope\r\n      return _isnan(value) != 0;\r\n\r\nI also compiled with MinGW, same-thing happened the instalation ended perfectly but when I try to run my project I got the same error.\r\n\r\nAny ideas on what could be causing this error ??"},"comment":{"url":"https://api.github.com/repos/pocoproject/poco/issues/comments/163479356","html_url":"https://github.com/pocoproject/poco/issues/1071#issuecomment-163479356","issue_url":"https://api.github.com/repos/pocoproject/poco/issues/1071","id":163479356,"user":{"login":"AliceCH","id":16000478,"avatar_url":"https://avatars.githubusercontent.com/u/16000478?v=3","gravatar_id":"","url":"https://api.github.com/users/AliceCH","html_url":"https://github.com/AliceCH","followers_url":"https://api.github.com/users/AliceCH/followers","following_url":"https://api.github.com/users/AliceCH/following{/other_user}","gists_url":"https://api.github.com/users/AliceCH/gists{/gist_id}","starred_url":"https://api.github.com/users/AliceCH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AliceCH/subscriptions","organizations_url":"https://api.github.com/users/AliceCH/orgs","repos_url":"https://api.github.com/users/AliceCH/repos","events_url":"https://api.github.com/users/AliceCH/events{/privacy}","received_events_url":"https://api.github.com/users/AliceCH/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T03:53:44Z","updated_at":"2015-12-10T03:53:44Z","body":"ok, so what do you suggest I do ?? How can I compile Poco to make sure it works on windows ?? "}}