Skip to content

C++ tests fail to link: ld: error: undefined symbol: operator delete(void*) #119

Description

@yurivict
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -L/usr/local/lib -lspdlog -pthread -lfmt  -fstack-protector-strong  test_main.o  -o test_main.out
ld: error: undefined symbol: operator delete(void*)
>>> referenced by test_main.cpp
>>>               test_main.o:(Catch::Detail::Approx::toString() const)
>>> referenced by test_main.cpp
>>>               test_main.o:(Catch::Detail::Approx::toString() const)
>>> referenced by test_main.cpp
>>>               test_main.o:(Catch::Detail::Approx::setMargin(double))
>>> referenced 2412 more times

dwave-preprocessing is built using clang-15.

Version: 0.5.4
FreeBSD 13.2

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