Skip to content

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