You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that with the -Werror=nonnull compiler option, your compiler doesn't like to see
(value_type*)nullptr
inside a decltype specifier. I added the -Werror=nonnull option for our g++ builds, but wasn't able to reproduce this issue on any of our test environments.
While not being able to reproduce it, I changed (value_type*)nullptr to std::declval<value_type*>(), which may satisfy your compiler. Would you be able to repeat your test with the code on master, and report back with the results?
Describe the bug
Expected behavior: jsoncons compiles without errors.
Actual behavior: I'm getting the following error:
Enumerate the steps to reproduce the bug
What compiler, architecture, and operating system?
What jsoncons library version?
The text was updated successfully, but these errors were encountered: