Expression Must Have Arithmetic Type Warning @ Error Log

  • Emre
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 months 1 week 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 Boarder
  • Junior Boarder
More
2 weeks 5 days 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.

LOGI.CALS AUSTRIA

Address

Europaplatz 7/1,
3100 St. Pölten

LOGI.CALS GERMANY

Address

Poststrasse 38H
40764 Langenfeld
© 1987 - 2021 logi.cals GmbH