Skip to content

UNITTEST_ENABLE_SHORT_MACROS 0 #177

@vanlankveldthijs

Description

@vanlankveldthijs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy