4.5.3.2 Changing Message Types

It is also possible to change the type of some messages, for example changing what would normally be a warning to an error. This can only be done for messages generated by the parser or code generator. See 5.14.3.11 The #pragma Warning Directive for more information on this pragma.