The 4D compiler shows two types of messages: Errors and Warnings. Errors are serious and should addressed right away. Warning are not as serious and can sometimes be ignored (although not always).
From the compiler window, it is possible to hide all compiler warnings by toggling the button that resembles a yellow warning sign in the upper right hand corner of the compiler.
In addition to hiding all compiler warnings, it is also possible to selectively disable certain warnings during compilation. To do this, you just need to insert the following code into a 4D method:
The warning numbers are now specified at the end of each message in the list of compilation errors. For example, take a look at the following compiler window:
To selectively hide all compiler warnings for 518.7 (regarding the use of the "undefined" command") we can use the `%W-warningnumber directive in a 4D method as shown here:
`the above directive hides warnings for the "Undefined" command (warning 518.7)
Note: the second line was added for clarification; only the first line is needed to hide the warnings.
The next compilation will not display (nor count) any 518.7 warnings.