/no_warn switch
The /no_warn switch directs the MIDL compiler to suppress warning messages.
syntax
midl /no_warn
This switch has no parameters.
The use of the /no_warn switch is equivalent to /W0.
midl /no_warn filename.idl
midl /W0 filename.idl