Fork me on GitHub

Opened 13 months ago

Last modified 13 months ago

#1587 new Bug

OSX compiling problem: std::binary_function removed

Reported by: attilio Owned by:
Priority: critical Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Hello,
with the last version of OSX and c++17 std::binary_function has been removed and Delphes no more compile.

external/PUPPI/puppiParticle.hh:63:34: error: no template named 'binary_function' in namespace 'std'; did you mean 'binary_function'?

Could someone fix it please?

Thanks

Attilio

[0]https://stackoverflow.com/questions/22386882/why-have-unary-function-binary-function-been-removed-from-c11

Change History (1)

comment:1 by Pavel Demin, 13 months ago

Thank your for notifying us about this problem.

It should be enough to simply remove binary_function from puppiParticle.hh. I have just removed it with this commit.

Note: See TracTickets for help on using tickets.