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

Fix PRIx64 being interpreted as C++11 user-defined literal suffix #52

Merged
merged 1 commit into from
Apr 6, 2024

Conversation

CrackedMatter
Copy link
Contributor

It seems to only happen when targeting Android:

In file included from /home/redacted/funchook/test/test_cpp.cpp:6:
/home/redacted/funchook/test/unit_test.h:36:100: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
#define ASSERT_EQUAL_UINT64(expected, actual, funchook, ...) ASSERT_EQUAL_WITH_TYPE(uint64_t, "0x%"PRIx64, expected, actual, funchook, __VA_ARGS__)
                                                                                                   ^

@kubo kubo merged commit 320ad49 into kubo:master Apr 6, 2024
6 checks passed
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.

None yet

2 participants