Applies To:
  • CitectSCADA
  • CitectHMI

Since upgrading to CitectSCADA V6, the compiler is generating many cicode warnings. These involve missing initial values, and the wrong number of arguments required for a function. What is causing this to occur, and what can be done to remove these warnings?

The compiler in CitectSCADA V6 has been enhanced, and is now stricter when checking for syntax and initial values for cicode functions. This verifies the consistency, reliability and robustness of your cicode.
The best way to resolve the cicode warnings is to implement and follow best practice cicode programming as documented in the online help. This may include always defining an initial value for an argument and using the correct number of arguments when calling the cicode function.

Alternatively, you can disable the new strict compiler checking with the following Citect.ini parameter:


Strict, Cicode, Compile, V6, Warning