<br><br><div class="gmail_quote">On Tue, Jan 24, 2012 at 14:33, Tom Deblauwe <span dir="ltr"><<a href="mailto:tom.deblauwe@traficon.com">tom.deblauwe@traficon.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
What compiler flags do you need to enable if you want to use the possibility to have something like this in your code:<br>
<br>
char Image[width(), height()];<br>
<br>
This worked before with my compiler(visual studio 2005) but not with the cmake generated project. It complains about expecting a constant expression. Anybody knows?<br><br></blockquote><div><br></div><div>That is not valid C or C++ code (once they were standardized at least). </div>
<div>Just use * instead of , and it will do what I guess you want. I think the code didn't do what you wanted before... </div><div><br></div><div>Joël Lamotte</div><div><br></div></div>