Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

UNITTEST_ENABLE_SHORT_MACROS 0 #177

Copy link
Copy link
@vanlankveldthijs

Description

@vanlankveldthijs
Issue body actions

In several places, preprocessor definition checks mention "#error [X] already defined, re-configure with UNITTEST_ENABLE_SHORT_MACROS set to 0 and use UNITTEST_[X] instead".

It seems like this refers to some earlier implementation and UNITTEST_DISABLE_SHORT_MACROS should be defined in UnitTest++/Config.h instead.

However, enabling this definition in the config file breaks basically all the tests (in the tests/ directory).

This is also easily circumvented by telling CMake to not include the tests in the makefile.
However, I would expect that changing the configuration settings according to its own explanation should not result in build failures. Otherwise, I would expect a mention of this limitation in the README.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.