-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing definitions for MACOS #95
Comments
OK, I understand the real issue now ;-) This would have to be fixed in the POCO C++ Libraries first. However, I remember having done that once before and it lead to some issues with other parts of Poco. IMO the best way would be to map |
Yes, that would be a good solution. Just to clarify even more: We observed side effects especially in templated code. e.g. Poco::Any results in different typed objects instantiated with std::int64_t and with Poco::Int64. BTW to have the std types we use something similar like the following (missing clean namespace handling...) `#pragma once #if __cplusplus >= 199711L
#else This could help to have a solution even before c++ 11 |
Should we move this issue to Poco project? |
Yes, this should be moved to Poco project. With the next release we're going to require C++11/C++14, so should be universally available. |
macchina.io/platform/Foundation/include/Poco/Types.h
Line 64 in 0e2b625
64 bit is now the default on Mac. However Apple uses long long instead of long. To be compatible the following is suggested:
(used and tried to pass is_same and similar with std types like std::uint64_t on Mac)
The text was updated successfully, but these errors were encountered: