<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>shlwapi: Cast-qual warnings fix (2 of 4)</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Courier New">On Wed, November 15, 2006 5:02 pm, Andrew Talbot wrote:<BR>
&gt;<I> -&nbsp; static const WCHAR szProperty[] = {<BR>
</I>&gt;<I> +&nbsp; static WCHAR szProperty[] = { '{','D','0','F','C','A','4','2','0',<BR>
</I><BR>
If they aren't constant, shouldn't they be non-static too?<BR>
<BR>
--<BR>
Dimi Paun &lt;</FONT><A HREF="http://www.winehq.org/mailman/listinfo/wine-devel"><U></U><U><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">dimi at lattica.com</FONT></U></A><FONT SIZE=2 FACE="Courier New">&gt;<BR>
Lattica, Inc.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Hi Dimi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">As I understand it, declaring them static means that the storage will be assigned and initialised at compile time, rather than run time, since the size and contents are already known.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">-- Andy.</FONT>
</P>

</BODY>
</HTML>