When using the `%W-
As the methods are compiled, if a warning situation is encountered it will be displayed in the compiler window unless the code to hide the warning has already been encountered.
Here are 2 examples:COPY ARRAY($myPointer->;$myArray)
`%W-518.1
When compiled, this code will trigger a warning to be displayed. `%W-518.1
COPY ARRAY($myPointer->;$myArray)
When compiled, this code will not trigger a warning to be displayed.
In order to avoid hiding only some of the warnings, place the warning directives in any of the COMPILER_ methods. These methods are compiled first, so putting the warning directives in one of these methods is a convienient way of hiding all warnings for the specified number.