develooper Front page | perl.perl5.porters | Postings from January 2018

build warning in locale.c

Thread Next
James E Keenan
January 22, 2018 23:47
build warning in locale.c
Message ID:
We're getting a warning during 'make' in the file 'locale.c'.  Here's 
what I'm getting on Linux with g++ and gcc, respectively.

$ grep -n 'warning:' gpp-make.txt gcc-make-txt
gpp-make.txt:38:locale.c:205:1: warning: ‘const char* 
S_category_name(int)’ defined but not used [-Wunused-function]
gcc-make-txt:38:locale.c:205:1: warning: ‘S_category_name’ defined but 
not used [-Wunused-function]

It's also showing up on FreeBSD where the compiler is clang.  See:

Can this be remedied?

Thank you very much.
Jim Keenan

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