Skip to content

v33

Choose a tag to compare

@rollbear rollbear released this 21 Jan 17:58
  • Silenced noisy g++-7 -Wuseless-cast warning

  • Fixed a bug where a mocked function would not compile if a parameter
    had an operator==(nullptr_t) returning a type that is not convertible
    to bool.

  • Fixed a bug where a mocked function would not compile if a parameter
    was a range with iterators to rvalue proxy objects, like vector<bool>.

  • Mock objects can be move constructed if they have a static constexpr bool member
    trompeloeil_movable_mock = true.

  • ANY() matcher gives a short descriptive compilation error message
    when the type is an array type (it would silently decay into a
    pointer type, which can be very confusing.)

  • When compiled with preprocessor macro
    TROMPELOEIL_USER_DEFINED_COMPILE_TIME_REPORTER, an
    extern trompeloeil::reporter is declared from trompeloeil.hpp.
    Thanks @rcdailey

  • Minor documentation updates.

  • Update pattern in expectation_with_wrong_type.cpp to match
    new error message from GCC '9' at svn revision 264700.