Hello, in MQX 4.2 "C plus plus example", when I inserted printf functions in class object constructor, the code compiled fine but MQX task did not start and TAD information showed invalid. Is there any reason for this behavior ?
Hi Adrian Mango
Existing MQX/C++ support depends on third-part toolchain startup routines. All of the supported toolchains invoke static object constructors before the main function -- which starts the MQX. The _io_printf calls for MQX device access.
Have a great day,Daniel
Retrieving data ...