Skip to content
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

Mac "error: expected unqualified-id" #26

Open
GregSlazinski opened this issue Sep 29, 2020 · 0 comments
Open

Mac "error: expected unqualified-id" #26

GregSlazinski opened this issue Sep 29, 2020 · 0 comments

Comments

@GregSlazinski
Copy link

#6
This issue is still happening, because the main branch source wasn't updated.

I can confirm that with latest Xcode:

https://github.com/richgel999/lzham_codec/blob/master/lzhamdecomp/lzham_traits.h#L70
#if defined(APPLE) || defined(NetBSD)
#define LZHAM_IS_POD(T) std::__is_pod::__value
#else
#define LZHAM_IS_POD(T) __is_pod(T)
#endif

can just be replaced with
#define LZHAM_IS_POD(T) __is_pod(T)

and compiles fine for Mac/iOS/iOS simulator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant