Browse Source
Due to an interaction with old (<1.59) versions of Boost, the ostream operator<< for wxPoint and wxSize is requried to use BOOST_CHECK_EQUAL_COLLECTIONS (the print_log_value<T> function is not used by this macro until 1.59). Because these functions are available in Debug builds, unit tests that use such functions will break when compiled as Release or RelWithDebugInfo. The change here is to not disable these functions in Release builds. Also, the functions are moved to common.h, to go with other generic WX "polyfill" functions. Although they might be commonly used by the EDA_ITEM::Show functions, they are not specifically related to that class. Fixes: lp:1830612 * https://bugs.launchpad.net/kicad/+bug/1830612pull/15/head
4 changed files with 30 additions and 25 deletions
Loading…
Reference in new issue