数学建模社区-数学中国

标题: MIDL compiler error and warning messages [打印本页]

作者: powerbuilder    时间: 2004-7-15 17:16
标题: MIDL compiler error and warning messages
<>This section lists MIDL compiler error and warning messages.</P>3 ]: O, S& H4 R/ A
<>An error or warning message sometimes specifies the name of one or more MIDL compiler mode switches. The MIDL compiler accepts an IDL file when you use some mode switches but generates errors for the same file when you do not use mode switches. For example, you can include ACF attributes in an IDL file when you use the /app_config switch, but that IDL file will generate an error if you compile without using the /app_config switch.
2 ]1 c3 U" x0 z- ]Command-line errors appear in the following format:</P>
0 n! E# Z, R1 G  K<>Command line error : MIDLnnnn : &lt;error text&gt; ( Y. s4 \! H" Z
[&lt;additional error information&gt;]
0 R2 H  P* C0 E3 n0 j </P>1 u6 j6 j& `; m* t; Y
<>The additional-error information field provides context-specific information about the error. The information in this field depends on the error message. For example, when an unresolved type-declaration error occurs, the additional-information field displays the name of the type that could not be resolved.
" }8 m# E9 T' M) RCompile-time warnings appear in the following format:</P>
: U8 H: J6 A  `/ Q! A# P9 S2 g<>&lt;FileName&gt;(line#) : warning MIDLnnnn :  ; ?4 e3 p3 {; j
&lt;warning text&gt;0 z/ }! s$ A$ \0 e* ]' V* k) P
[optional context information] : ( ?3 b  ^/ G# ^: Z4 z9 m
</P>5 x% @; z, {. @' ^
<>Compile-time errors appear in the following format:</P>0 x: Q( G! b' L: i5 X0 j# d
<>&lt;FileName&gt;(line#) : error MIDLnnnn :  
: y3 g8 U0 y. `5 m* x7 S&lt;error text&gt;
6 A+ @$ P- M- ~[optional context information] : 0 t7 B( f# l! x! R& A, D' K* V
</P>' K2 R: [9 V3 F- f& W* O6 n
<>Optional context information refers to the context in which the error occurred. The MIDL compiler reports this information to help you quickly find the error in the IDL file. Context information is generated when the MIDL compiler discovers an error during semantic analysis of type and procedure signatures.</P>
! Z$ Q) @% v; ~. y<>MIDL1000 : missing source file name</P>! Y& G: {( P- Q" R: D- }* t! t
<>No input file has been specified in the MIDL compiler command line.</P>1 @4 [! ]8 r! ~8 }) I3 k2 ?
<>MIDL1001 : cannot open input file</P>3 g9 S, Q4 c' @! l) ~
<>The input file specified could not be opened.</P>7 e1 b5 P. |, w: i7 E  C) G% a
<>MIDL1002 : error while reading input file</P>  ~+ u6 p* m  `! z
<>The system returned an error while reading the input file.</P>, g, z! Q6 V: a( p/ x
<>MIDL1003 : error returned by the C preprocessor</P>
1 {- a  A1 `; {! }( h% I4 K- r; l! o, B<>The preprocessor returned an error. The error message is directed to the output stream.</P>
: W+ D* v3 i. G) }2 I, Z2 ^<>MIDL1004 : cannot execute C preprocessor</P>
; o+ @! }) u* v5 X% z" c2 l<>The operating system reported an error when it tried to spawn the preprocessor. With MS-DOS, this error can occur when the argument list exceeds 128 bytes. You can reduce the size of the argument list by using a response file.</P>$ Z: {! i( z# T& k" s# [* Y
<>MIDL1005 : cannot find C preprocessor</P>. h( B0 D1 x% J5 c. v5 I
<>The MIDL compiler cannot locate the preprocessor in the specified path or in the path specified by the PATH environment variable.</P># t) ]" V& R  e; x7 g# J' ?
<>MIDL1006 : invalid C preprocessor executable</P>
$ N7 f% q2 d5 D<>The specified preprocessor is not executable or has an invalid executable-file format.</P>
; X- z9 v9 j' a# W( W/ r: ^<>MIDL1007 : switch specified more than once on command line</P>8 S+ W  S: o0 a
<>A switch has been redefined. The redefined switch is displayed after the error message.</P>




欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) Powered by Discuz! X2.5