PelionIoT / mbed-cloud-client

Izuma Device Management Client library

Home Page:https://izumanetworks.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiler error with IAR

ghseb opened this issue · comments

commented

The line

tr_info("M2MInterfaceImpl::state_register - lwm2m_id: %"PRId32", server_address: %s", m2m_id, _server_ip_address.c_str());

produces a compiler error on IAR:

m2minterfaceimpl.cpp",978  Error[Pe2486]: user-defined literal operator not found

It could be fixed by adding spaces before and after PRId32 in order to be not evaluated as user defined literal operator.

Hi @ghseb we actually already fixed this in internal development the same way as you also suggested.

commented

Ok, thx. Closing the issue.

This was fixed in 4.11.1 patch release.