Skip to content

Compiler Warnings

Compiler Warnings

Compiler warnings are shown for informational purposes only and are not error messages.

CodeDescription
21Incomplete record of a date in the datetime string
22Wrong number in the datetime string for the date. Requirements:
Year 1970 <= X <= 3000
Month 0 <X <= 12
Day 0 <X <= 31/30/28 (29 )….
23Wrong number of datetime string for time. Requirements:
Hour 0 <= X <24
Minute 0 <= X <60
24Invalid color in RGB format: one of RGB components is less than 0 or greater than 255
25Unknown character of the escape sequences.
Known: \n \r \t \\ \" \’ \X \x
26Too large volume of local variables (> 512Kb) of the function, reduce the number
29Enumeration already defined (duplication) - members will be added to the first definition
30Overriding macro
31The variable is declared but is not used anywhere
32Constructor must be of void type
33Destructor must be of void type
34Constant does not fit in the range of integers (X> _UI64_MAX | | X <_I64_MIN) and will be converted to the double type
35Too long HEX - more than 16 significant characters (senior nibbles are cut)
36No nibbles in HEX string “0x”
37No function - nothing to be performed
38A non-initialized variable is used
41Function has no body, and is not called
43Possible loss of data at typecasting. Example: int x = (double) z;
44Loss of accuracy (of data) when converting a constant. Example: int x = M_PI
45Difference between the signs of operands in the operations of comparison. Example: (char) c1> (uchar) c2
46Problems with function importing - declaration of #import is required or import of functions is closed
47Too large description - extra characters will not be included in the executable file
48The number of indicator buffers declared is less than required
49No color to plot a graphical series in the indicator
50No graphical series to draw the indicator
51‘OnStart’ handler function not found in the script
52‘OnStart’ handler function is defined with wrong parameters
53‘OnStart’ function can be defined only in a script
54‘OnInit’ function is defined with wrong parameters
55‘OnInit’ function is not used in scripts
56‘OnDeinit’ function is defined with wrong parameters
57‘OnDeinit’ function is not used in scripts
58Two ‘OnCalculate’ functions are defined. OnCalculate () at one price array will be used
59Overfilling detected when calculating a complex integer constant
60Probably, the variable is not initialized.
61This declaration makes it impossible to refer to the local variable declared on the specified line
62This declaration makes it impossible to refer to the global variable declared on the specified line
63Cannot be used for static allocated array
64This variable declaration hides predefined variable
65The value of the expression is always true/false
66Using a variable or bool type expression in mathematical operations is unsafe
67The result of applying the unary minus operator to an unsigned ulong type is undefined
68The version specified in the #property version property is unacceptable for the Market section; the correct format of #property version id “XXX.YYY”
69Empty controlled statement found
70Invalid function return type or incorrect parameters during declaration of the event handler function
71An implicit cast of structures to one type is required
72This declaration makes direct access to the member of a class declared in the specified string impossible. Access will be possible only with the scope resolution operation ::
73Binary constant is too big, high-order digits will be truncated
74Parameter in the method of the inherited class has a different const modifier, the derived function has overloaded the parent function
75Negative or too large shift value in shift bitwise operation, execution result is undefined
76Function must return a value
77void function returns a value
78Not all control paths return a value
79Expressions are not allowed on a global scope
80Check operator precedence for possible error; use parentheses to clarify precedence
81Two OnCalCulate() are defined. OHLC version will be used
82Struct has no members, size assigned to 1 byte
83Return value of the function should be checked
84Resource indicator is compiled for debugging. That slows down the performance. Please recompile the indicator to increase performance
85Too great character code in the string, must be in the range 0 to 65535
86Unrecognized character in the string
87No indicator window property (setting the display in the main window or a subwindow) is defined. Property #property indicator_chart_window is applied
Last updated on