Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 07e3b5cdb6f7260446b791acf0623e01a37e4739
https://github.com/Perl/perl5/commit/07e3b5cdb6f7260446b791acf0623e01a37e4739
Author: Tony Cook <[email protected]>
Date: 2023-07-04 (Tue, 04 Jul 2023)
Changed paths:
M Makefile.SH
Log Message:
-----------
use the linker to link generate_uudmap$(EXE)
Recent versions of clang++ complain when building .c files as
C++:
clang-16: warning: treating 'c' input as 'c++' when in C++ mode,
this behavior is deprecated [-Wdeprecated]
The solution for this would be to Configure with:
./Configure ... -Dcc=clang++\ -xc++ -Dld=clang++
this results in the link stage for generate_uudmap trying to compile
generate_uudmap.o as C++ and hilarity ensues.
Fix this by using the linker to link.