How To Disable Compiler Warnings In NetLinx Code
Technical Support Guide
Written by Jose Liberio Cruz
Updated at February 9th, 2026
Table of Contents
Problem
In the Setting's 'Menu/Preferences/Axcess Compiler Options,' there are a number of Axcess compiler warnings that can be enabled / disabled, but there is no corresponding GUI for enabling / disabling NetLinx compiler warnings.
Resolution
Disabling NetLinx compiler warnings must be done in code by adding a #DISABLE_WARNING statement with a warning number generated by the compiler. For example, if you are getting a warning you want to disable, such as WARNING: U:\My Documents\Studio\Test\DISABLE_WARNINGtest.axs(12): C10571: Converting type [SINTEGER] to [INTEGER]
The warning number is 10571. Add the line:
#DISABLE_WARNING 10571
Then the code will compile without generating the warning.
Related Videos
Table of Contents