midl /no_warn
midl /no_warn filename.idl midl /W0 filename.idl
The /no_warn switch directs the MIDL compiler to suppress warning messages. The use of the /no_warn switch is equivalent to /W0.
General MIDL Command-line Syntax, /W, /WX