On Mon, Dec 12, 2011 at 7:39 AM, Dominik Szczerba <span dir="ltr"><<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> VecType t;<br>
><br>
> VecGetType(b, &t);<br>
> Printf("%s\n", t);<br>
><br>
> Matt<br>
<br>
Thanks, but I am getting the same error:<br>
<br>
error: invalid conversion from 'char**' to 'const char**'<br></blockquote><div><br></div><div>Cast it to (const VecType *).</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Using gcc 4.6.2</blockquote><div><br></div><div>A C compiler would not give you that error.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Dominik<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>