1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>SDK_COMPILER_ASSERT</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">SDK_COMPILER_ASSERT <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD><CODE>#include &lt;nitro/misc.h&gt;</CODE><BR>
15  <BR>
16  <CODE>SDK_COMPILER_ASSERT(expr);</CODE>
17</DL>
18<H2>Arguments</H2>
19<TABLE border="1">
20  <TBODY>
21    <TR>
22      <TD width="166"><B><I><CODE>expr</CODE></I></B></TD>
23      <TD width="481">The condition parameter.</TD>
24    </TR>
25  </TBODY>
26</TABLE>
27<H2>Return Values</H2>
28<P>None.</P>
29<H2>Description</H2>
30<P>Conditions are inspected when compiling. If conditions are not met, the macro makes a compile error.</P>
31<P>This macro makes compile errors in the following situation. <CODE>SDK_COMPILER_ASSERT( expr )</CODE> is when the evaluation expression <B><I>expr</I></B> is false (when <B><I>expr</I></B> is not established).
32<P>
33<P><font color="#800000"><B>Caution:</B> This argument can only handle evaluation expressions constructed from information known when compiling, such as structure size or constants.</font>
34
35<H2>See Also</H2>
36<P></P>
37<H2>Revision History</H2>
38<P>2005/11/07 Initial version.</P>
39<hr><p>CONFIDENTIAL</p></body>
40</HTML>