Tool/software: TI C/C++ Compiler
Hello Georges,
Maybe I closed https://e2e.ti.com/support/tools/ccs/f/81/p/891231/3295646#3295646
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.
Tool/software: TI C/C++ Compiler
Hello Georges,
Maybe I closed https://e2e.ti.com/support/tools/ccs/f/81/p/891231/3295646#3295646
Here is one way to work out which source line causes that call to delete.
The linker diagnostic tells you which object file in the library calls delete. Build the corresponding source file with no optimization and the option --src_interlist. This option has two effects: the automatically generated assembly file is not deleted, and comments are added to it which are the C++ source lines that correspond to the assembly instructions. The assembly file has the same name as the source file, with the extension changed to .asm.
Inspect the assembly file and search for _ZdlPvj. The corresponding source line is where delete gets called.
Thanks and regards,
-George