Echelon FTXL User Manual

Page 135

Advertising
background image

FTXL User’s Guide

123

#pragma disable_warning

number

#pragma enable_warning

number

Controls the compiler's printing of individual warning messages. Warning

messages generally indicate a problem in the model file, or a place where the

code could be improved. Warning messages are on by default. These
pragmas can be intermixed multiple times throughout a model file to turn

informational message printing on and off as needed.

The

number

parameter refers to a specific warning number, for example

#pragma disable_warning 123. Alternatively, you can use an asterisk to

select all warnings, for example #pragma enable_warning *. This pragma is
ignored if you specify #pragma warnings_off or #pragma fyi_off.


Advertising