Skip to content

support for Borland C++ Builder #133

Open

Description

@kolesar-andras

I have tried to compile UnitTest++ on Borland C++ Builder 5. First error was:

Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland
Error E2075: Incorrect command line option: -Wall

Grepped for -Wall, found in CMakeLists.txt:

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror")

Removed -W switches, compilation started. Unfortunately stopped later:

e:\unittest-cpp\tests\testcheckmacros.cpp:
Error E2312 e:\unittest-cpp\tests\testcheckmacros.cpp 10: 'Test' is not an unamb
iguous base class of 'TestCheckSucceedsOnTrue' in function TestCheckSucceedsOnTr
ue::TestCheckSucceedsOnTrue()
Error E2251 e:\unittest-cpp\tests\testcheckmacros.cpp 10: Cannot find default co
nstructor to initialize base class 'UnitTest::Test' in function TestCheckSucceed
sOnTrue::TestCheckSucceedsOnTrue()

This message repeated many times for each occurence of TEST() macro. What can I do if I plan to use UnitTest++ in an old legacy Borland project?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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