This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[TI ARM Linker] Overloading new/delete operator

Hi,

we are trying to overload the global new/delete operators. However, the linker throws an error about a "redefined" symbol:

error #10056: symbol "operator delete (void*)" redefined: first defined in "...\rtsv7A8_A_le_n_v3_eabi.lib<delete.obj>": redefined in "..."

Any hints how to resolve this?

Greetings,
Thomas

 

  • I need a test case which allows me to reproduce the same error message.  Unfortunately, for a linker issue like this one, a single source file is not enough.  Is this organized as a CCS project?  If so, I'd appreciate if you would submit the project.

    In the meantime, be sure the list of files on the linker command invocation orders the object files (or library) which overload global new and delete before the RTS library.

    Thanks and regards,

    -George

  • Thomas,
    is this case closed for you?

    Regards, Bernd