Opened 7 years ago

Closed 7 years ago

#54586 closed defect (fixed)

strigi, cppunit: error: no member named 'bind' in namespace 'std'; did you mean 'find'?

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: strigi, cppunit

Description

strigi fails to build because of some issue with cppunit:

:info:build /opt/local/include/cppunit/TestCaller.h:121:28: error: no member named 'bind' in namespace 'std'; did you mean 'find'?
:info:build             m_test_function( std::bind(test, m_fixture) )
:info:build                              ~~~~~^~~~
:info:build                                   find

I don't know which port needs to be fixed.

Attachments (1)

main.log.bz2 (17.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.bz2 added

comment:1 Changed 7 years ago by kencu (Ken)

It's this:

# NOTE: CppUnit's public API also required C++11 for compiling, hence
# any project using CppUnit must be compiled with C++11 support,
# regardless of whether the project itself requires C++11.
Version 0, edited 7 years ago by kencu (Ken) (next)

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

strigi doesn't even depend on cppunit. So we should add conflicts_build cppunit.

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

In 00ee6e7f74dec3df556b6e091eeb164908df1c31/macports-ports:

strigi: Add build conflict with cppunit

Closes: #54586

Note: See TracTickets for help on using tickets.