Skip to main content

Expression Must Have Arithmetic Type Warning @ Error Log

More
3 years 2 months ago #11104 by Emre
Hello everyone,

I am an intern working for an automotive company. We use logicad 3 to program our PLCs. We are unable to understand why we see the following warning on the error log: "expression must have arithmetic type
{1, CGEN_nUdsDriverTypeGENIODS, 0, .unDriverConfig = {.CGEN_stRom.u32RomAddress = (uint32) &CGEN_stDeviceParameterGENIODS_FEF1}}"

The source of this warning seems to be the C compiler, but we do not interact with the C code directly. Moreover, when I check the said line on the C code, there is casting for 32-bit unsigned integer, so it is must be an arithmetic type.

Any help would be appreciated. Thanks in advance for your time.

Please Log in or Create an account to join the conversation.

  • Walter Zögernitz
  • Offline
  • Junior Member
  • Junior Member
More
3 years 2 weeks ago #11161 by Walter Zögernitz
Replied by Walter Zögernitz on topic Expression Must Have Arithmetic Type Warning @ Error Log
Please login to view the answers

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum