AnsweredAssumed Answered

How can I suppress the compiler warning: multiply-defined: 'printf'  in libc_E200z760_VLE_SPFP_Only.a in the file D:\workspace\EPPC\workspace_codegen\ewl\EWL_C\EWL_C.PA_CmdLineData\libc_E200z7 60_VLE_SPFP_Only\obj\printf.o Previously defined in printf.obj

Question asked by L.V. Thomas on Dec 14, 2015
Latest reply on Dec 16, 2015 by L.V. Thomas

How can I suppress the following compiler warnings when I already have user defined functions for printf() and sprintf():

multiply-defined: 'printf'  in libc_E200z760_VLE_SPFP_Only.a in the file D:\workspace\EPPC\workspace_codegen\ewl\EWL_C\EWL_C.PA_CmdLineData\libc_E200z7 60_VLE_SPFP_Only\obj\printf.o Previously defined in printf.obj ignored: 'printf'  in libc_E200z760_VLE_SPFP_Only.a from the file D:\workspace\EPPC\workspace_codegen\ewl\EWL_C\EWL_C.PA_CmdLineData\libc_E200z7 60_VLE_SPFP_Only\obj\printf.o

 

multiply-defined: 'sprintf'  in libc_E200z760_VLE_SPFP_Only.a in the file D:\workspace\EPPC\workspace_codegen\ewl\EWL_C\EWL_C.PA_CmdLineData\libc_E200z7 60_VLE_SPFP_Only\obj\printf.o Previously defined in printf.obj ignored: 'sprintf'  in libc_E200z760_VLE_SPFP_Only.a from the file D:\workspace\EPPC\workspace_codegen\ewl\EWL_C\EWL_C.PA_CmdLineData\libc_E200z7 60_VLE_SPFP_Only\obj\printf.o

Description Resource Path Location Typemultiply-defined: 'printf'  in libc_E200z760_VLE_SPFP_Only.a in the file D:\workspace\EPPC\workspace_codegen\ewl\EWL_C\EWL_C.PA_CmdLineData\libc_E200z7 60_VLE_SPFP_Only\obj\printf.o Previously defined in printf.obj ignored: 'printf'  in libc_E200z760_VLE_SPFP_Only.a from the file D:\workspace\EPPC\workspace_codegen\ewl\EWL_C\EWL_C.PA_CmdLineData\libc_E200z7 60_VLE_SPFP_Only\obj\printf.o PCM C/C++ Problem

Outcomes