https://bugs.kde.org/show_bug.cgi?id=379537
--- Comment #5 from Marc Mutz ---
I solved it now by providing that always-inline function myself:
https://codereview.qt-project.org/193707 But please consider moving this into
vanilla valgrind.h.
--
You are receiving this mail because:
You are
https://bugs.kde.org/show_bug.cgi?id=379537
--- Comment #4 from Marc Mutz ---
> Well it makes no sense to execute a client request at compile time so it not
> being constexpr seems entirely reasonable to me...
Sure, it's fine if any particular function invocation isn't co
https://bugs.kde.org/show_bug.cgi?id=379537
--- Comment #3 from Marc Mutz ---
You can make this work by replacing the VALGRIND_DO_CLIENT_REQUEST_EXPR macro
with a __attribute__((always_inline)) / __force_inline function. Then constexpr
functions can use the macro in a ternary, because you can
https://bugs.kde.org/show_bug.cgi?id=379537
--- Comment #1 from Marc Mutz ---
Hmm, ok, it already fails because it's using asm. That's unfortunate. But keep
this in mind for the future.
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=379537
Bug ID: 379537
Summary: Client requests can't be used in C++11 constexpr
functions
Product: valgrind
Version: unspecified
Platform: Other
OS: Linux
Sta