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

EMSCRIPTEN support #4

Open
HDAKFD opened this issue Aug 27, 2024 · 0 comments
Open

EMSCRIPTEN support #4

HDAKFD opened this issue Aug 27, 2024 · 0 comments

Comments

@HDAKFD
Copy link

HDAKFD commented Aug 27, 2024

on Emscripten it seems to "reset" the counter between .cpp files.

For example i tried doing counter at index 5 on test1.cpp and test2.cpp

It started counting from start index in test2.cpp even though it had counted things already on test1.cpp, in regular clang it would remember the value between files, now it doesn't.

Any idea what could be causing this?

#	elif defined(__clang__) || defined(__EMSCRIPTEN__)
#		define FAMETA_FRIEND_INJECTION_PRAGMA_BEGIN _Pragma("GCC diagnostic push"); _Pragma("GCC diagnostic ignored \"-Wundefined-internal\"");
#		define FAMETA_FRIEND_INJECTION_PRAGMA_END   _Pragma("GCC diagnostic pop");
#	elif defined(__GNUC__)

Also tried with this tweak, changed nothing.

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

2 participants
@HDAKFD and others