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

Header parsing issues in C++ context on Mac #312

Open
maximmenshikov opened this issue Apr 17, 2022 · 0 comments
Open

Header parsing issues in C++ context on Mac #312

maximmenshikov opened this issue Apr 17, 2022 · 0 comments
Assignees
Labels

Comments

@maximmenshikov
Copy link
Collaborator

There is an issue in utf8.h related to char32_t.
It is not needed to override char32_t in C++ context because it is defined in standard library.
This part is buggy:

#ifdef __APPLE__
	typedef uint32_t char32_t;
#else
	#include <uchar.h>
#endif

Also I believe it is required to make a small C++ wrapper library to ensure that headers can always be parsed in C++ context.

@maximmenshikov maximmenshikov self-assigned this Apr 17, 2022
maximmenshikov added a commit to maximmenshikov/RuC that referenced this issue Apr 17, 2022
maximmenshikov added a commit to maximmenshikov/RuC that referenced this issue Apr 17, 2022
maximmenshikov added a commit to maximmenshikov/RuC that referenced this issue Apr 17, 2022
maximmenshikov added a commit to maximmenshikov/RuC that referenced this issue Apr 17, 2022
Victor-Y-Fadeev added a commit that referenced this issue Apr 19, 2022
[#312,#314] Fix header parsing in C++ context and Windows build issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant