tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: clang on macOS and overzealous warnings
Jörg Sonnenberger <joerg%bec.de@localhost> writes:
> On 9/13/25 1:56 AM, Greg Troxel wrote:
>> Under pkgsrc, it errors out:
>> checking for the mincore function
>> clang: error: argument unused during compilation: '-L/opt/n0/pkgsrc/sysutils/bup/work/.buildlink/lib' [-Werror,-Wunused-command-line-argument]
>> clang: error: argument unused during compilation: '-L/opt/n0/pkgsrc/sysutils/bup/work/.buildlink/lib' [-Werror,-Wunused-command-line-argument]
>> clang: error: argument unused during compilation: '-L/opt/n0/pkgsrc/sysutils/bup/work/.buildlink/lib' [-Werror,-Wunused-command-line-argument]
>
> But the wrappers are also passing -Qunused-arguments, which overrides
> that warning. Are you using the correct compiler?
I'm not doing anything special. It's an old bootstrap, but it's running
macOS command-line-tools clang.
Thanks for the hint; I'll try to understand more.
Home |
Main Index |
Thread Index |
Old Index