develooper Front page | perl.perl5.porters | Postings from October 2015

warning (sermon?) about strcat() from openbsd linker

Thread Next
Jarkko Hietaniemi
October 17, 2015 00:51
warning (sermon?) about strcat() from openbsd linker
Message ID:
cc -o perl -Wl,-E  -fstack-protector -L/usr/local/lib  perlmain.o 
libperl.a `cat ext.libs` -lpthread -lm -lutil -lc
libperl.a(DynaLoader.o)(.text+0x729): In function 
: warning: strcat() is almost always misused, please use strlcat()

$ uname -a
OpenBSD openbsd 4.9 GENERIC#671 i386
$ cc -v
Reading specs from 
Target: i386-unknown-openbsd4.9
Configured with: OpenBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About