<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Richard, Reid,<br>
<br>
Thank you for the replies - much appreciated.<br>
I saw the language reference below, but was unsure if it worked in both directions viz: declarations non const & definitions const.<br>
However, it makes little difference if it is one way or both - the point is I need to fix it (as per Richards Osborne's comments).<br>
<br>
thank you<br>
Robert<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>"LLVM explicitly allows <i>declarations</i> of global variables to be marked constant, even if the final definition of the global is not. This capability can be used to enable slightly better optimization of the program, but requires the language definition
 to guarantee that optimizations based on the ‘constantness’ are valid for the translation units that do not include the definition."<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>