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

Remove char8_t define for EA_PLATFORM_APPLE #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Remove char8_t define for EA_PLATFORM_APPLE #1

wants to merge 1 commit into from

Conversation

Valakor
Copy link

@Valakor Valakor commented Aug 26, 2019

Using typedef char char8_t; seems to work plenty fine for me, and I'm getting conflicts with libfmt because both libraries are trying to declare char8_t types. In fmt's case, enum char8_t : unsigned char {}; is used after checking for the __cpp_char8_t macro. Weirdly having the conflicting types (EA's char typedef and fmt's enum) seems to work...

I'm definitely open to other solutions because I foresee this kind of issue arising when multiple projects are trying to use/define char8_t like this.

Edit: For clarification I'm using XCode 10.3

Using `typedef char char8_t` seems to work plenty fine for me, and I'm getting conflicts with libfmt because both libraries are trying to declare char8_t types. In fmt's case, `enum char8_t : unsigned char {};` is used after checking for the __cpp_char8_t macro. Weirdly having the conflicting types (EA's char typedef and fmt's enum) seems to work...
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

Successfully merging this pull request may close these issues.

1 participant