Skip to main content
15-Moonstone
August 15, 2017
Question

Linker Warnings -locally defined symbol - on base C functions.

  • August 15, 2017
  • 1 reply
  • 2278 views

Writing C toolkit, I can't seem to get rid of these linker warnings.  Basically I am charged with locally defining functions that are base C functions.   Is there a way to fix these.   I see there was a previous topic in this as well, but it was with OTK. 

 

https://community.ptc.com/t5/Additional-Creo-Questions/Eliminating-Linker-Warnings-with-OTK-C/m-p/47584#M4183

 

    1>jobdump.obj : warning LNK4217: locally defined symbol fclose imported in function BnoteAdjustViewScales
     1>jobdump.obj : warning LNK4217: locally defined symbol fflush imported in function BnoteAdjustViewScales
     1>jobdump.obj : warning LNK4217: locally defined symbol fgets imported in function user_action
     1>jobdump.obj : warning LNK4217: locally defined symbol fopen imported infunctionBnoteAdjustViewScale     1>jobdump.obj : warning LNK4217: locally defined symbol remove imported in function user_action
     1>jobdump.obj : warning LNK4217: locally defined symbol sprintf imported in function  oteConstructNoteText
     1>jobdump.obj : warning LNK4217: locally defined symbol memmove imported in function FtoA
     1>jobdump.obj : warning LNK4217: locally defined symbol strncmp imported in function user_action