Need to remove warning of uprv_strncpy

Description

Currently, we see ICU build with the following warning. We should look into and remove them.

Activity

Show:
Frank Yung-Fong Tang
September 2, 2020, 9:56 PM
Edited

Here are the configuration

configure by running

 

Here are the flags

g++ -O3 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -std=c++11 -o cintltst callcoll.o calltest.o capitst.o cbiapts.o cbkittst.o ccaltst.o ucnvseltst.o cctest.o ccapitst.o ccolltst.o encoll.o cconvtst.o ccurrtst.o cdateintervalformattest.o cdattst.o cdetst.o cdtdptst.o cdtrgtst.o cestst.o cfintst.o cformtst.o cfrtst.o cg7coll.o chashtst.o cintltst.o citertst.o cjaptst.o cloctst.o cmsccoll.o cmsgtst.o cpluralrulestest.o cposxtst.o cldrtest.o cnmdptst.o cnormtst.o cnumtst.o crelativedateformattest.o crestst.o creststn.o cturtst.o cucdapi.o cucdtst.o custrtst.o cstrcase.o cutiltst.o nucnvtst.o nccbtst.o bocu1tst.o cbiditst.o cbididat.o eurocreg.o udatatst.o utf16tst.o utransts.o ncnvfbts.o ncnvtst.o putiltst.o cstrtest.o udatpg_test.o utf8tst.o stdnmtst.o usrchtst.o custrtrn.o sorttest.o trietest.o trie2test.o ucptrietest.o usettest.o uenumtst.o utmstest.o currtest.o idnatest.o nfsprep.o spreptst.o sprpdata.o hpmufn.o tracetst.o reapits.o uregiontest.o ulistfmttest.o utexttst.o ucsdetst.o spooftest.o cbiditransformtst.o cgendtst.o unumberformattertst.o uformattedvaluetst.o unumberrangeformattertst.o -L../../tools/ctestfw -licutest -L../../lib -licui18n -L../../lib -licutu -L../../lib -licuuc -L../../stubdata -licudata -lpthread -ldl -lm

Assignee

Jeff Genovy

Reporter

Frank Yung-Fong Tang

Components

Labels

None

Reviewer

None

Priority

assess

Time Needed

None

Fix versions

Configure