[MacPorts] #65163: llvm-14 @14.0.3+universal: error: no matching function for call to 'min'
MacPorts
noreply at macports.org
Thu May 12 04:37:28 UTC 2022
#65163: llvm-14 @14.0.3+universal: error: no matching function for call to 'min'
------------------------+---------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: mavericks | Port: llvm-14
------------------------+---------------------
https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/187400/steps
/install-dependencies/logs/stdio/text
{{{
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-14/llvm-14/work
/llvm-project-14.0.3.src/llvm/tools/llvm-
objcopy/MachO/MachOWriter.cpp:569:21: error: no matching function for call
to 'min'
std::min(HashReadEnd - CurrHashReadPosition,
^~~~~~~~
/opt/local/libexec/llvm-11/bin/../include/c++/v1/algorithm:2560:1: note:
candidate template ignored: deduced conflicting types for parameter '_Tp'
('int' vs. 'long')
min(const _Tp& __a, const _Tp& __b)
^
/opt/local/libexec/llvm-11/bin/../include/c++/v1/algorithm:2571:1: note:
candidate template ignored: could not match 'initializer_list<type-
parameter-0-0>' against 'int'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/opt/local/libexec/llvm-11/bin/../include/c++/v1/algorithm:2580:1: note:
candidate function template not viable: requires single argument '__t',
but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/opt/local/libexec/llvm-11/bin/../include/c++/v1/algorithm:2551:1: note:
candidate function template not viable: requires 3 arguments, but 2 were
provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
make[2]: *** [tools/llvm-objcopy/CMakeFiles/llvm-
objcopy.dir/MachO/MachOWriter.cpp.o] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65163>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list