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
A linker occurs in BUILD=Release if a test case uses the MESSAGE() macro together with a std::string parameter and the stream-operator. The same test program compiles without problems with BUILD=Debug.
HINT: A #include <iostream> fixes the problem in BUILD=Release.
Thanks for the report! This is actually a duplicate: #126
I tried solving it a few times before... I suggest you use the workaround of including <iostream> for now - I hope I get back to trying to fix this in a month or two...
There is an open PR for this: #314 - the idea behind the PR is to include <ostream> when DOCTEST_CONFIG_USE_STD_HEADERS is defined... I'm still not sure how to continue forward with this.
Description
A linker occurs in BUILD=Release if a test case uses the
MESSAGE()
macro together with a std::string parameter and the stream-operator. The same test program compiles without problems with BUILD=Debug.HINT: A
#include <iostream>
fixes the problem in BUILD=Release.Steps to reproduce
Extra information
The text was updated successfully, but these errors were encountered: