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

__PRETTY_FUNCTION__ macro is not defined by MSVC #54

Open
ocococococ opened this issue Jan 9, 2024 · 0 comments
Open

__PRETTY_FUNCTION__ macro is not defined by MSVC #54

ocococococ opened this issue Jan 9, 2024 · 0 comments

Comments

@ocococococ
Copy link

According this page, the alternative macro is __func__ or __FUNCSIG__ or __FUNCTION__.

So far,
even if defining macro with reserved leading & trailing __ does not belong to best C++ practices,
as a workaround,
I've just added something like this before using #include <mipp.h>:

#if defined(_MSC_VER)
#define __PRETTY_FUNCTION__ __FUNCSIG__
#endif // _MSC_VER

Thanks for this fantastic library.

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

1 participant