Overriding / Implement method to replace itoa()

Discuss how to use the features of Atollic TrueSTUDIO, including the editor, assembler, C/C++ compiler, linker, debugger, static code analysis and team collaboration tools.

Moderators: Markus Girdland, Mattias Norlander

Nadreoh
Posts: 2
Joined: Wed Mar 04, 2020 5:56 pm

Overriding / Implement method to replace itoa()

Postby Nadreoh » Wed Mar 04, 2020 6:09 pm

Hi,

I'm breaking my head to make TrueStudio accept my own definition of itoa().
Unfortunately itoa() is already defined in the stdlib.h I include in my application (according to the compiler Infos message).

I would know how can I override this function?

BTW, itoa is a non-standard function. Why is it included in the stdlib???

Regards,
Nadreoh

frank_ee
Posts: 117
Joined: Wed Apr 05, 2017 5:08 pm
Location: USA

Re: Overriding / Implement method to replace itoa()

Postby frank_ee » Mon Mar 09, 2020 8:26 pm

Hello,

You can rename your function or exclude the stdlib from your build.

Nadreoh
Posts: 2
Joined: Wed Mar 04, 2020 5:56 pm

Re: Overriding / Implement method to replace itoa()

Postby Nadreoh » Tue Mar 10, 2020 8:09 am

Yes, that was my workaround...
I would know what is the configuration to override instead of doing your proposal.


Return to “Atollic TrueSTUDIO tool discussions”

Who is online

Users browsing this forum: No registered users and 4 guests