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
Replace STDOUT_FILENO with fileno(stdout) in doctest. This should work across platforms.
The text was updated successfully, but these errors were encountered:
psfrolov
changed the title
Compiling with DOCTEST_CONFIG_COLORS_ANSI fails in Windows
Compiling with DOCTEST_CONFIG_COLORS_ANSI fails on Windows
Mar 8, 2020
Description
The following code fails on Windows with MSVC because
STDOUT_FILENO
is not defined.Workaround
Fix
Replace
STDOUT_FILENO
withfileno(stdout)
indoctest
. This should work across platforms.The text was updated successfully, but these errors were encountered: