<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jan 19, 2014 at 7:00 PM, Jed Brown <span dir="ltr"><<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> writes:<br>
<br>
> On Sun, Jan 19, 2014 at 6:42 PM, Jed Brown <<a href="mailto:jed@jedbrown.org">jed@jedbrown.org</a>> wrote:<br>
><br>
>> Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> writes:<br>
>> > Yes, I am aware, and as I pointed out, I was checking the complex build,<br>
>><br>
>> You didn't mention "complex" in this thread, just something about C<br>
>> typedefs which isn't true because you get warnings like this in C.<br>
>><br>
>> warning: incompatible pointer types passing 'PetscScalar *' (aka '_Complex<br>
>> double *') to parameter of type 'PetscReal *' (aka 'double *')<br>
>> [-Wincompatible-pointer-types]<br>
>>     ierr = VecNorm(Z,NORM_2,&dp);CHKERRQ(ierr);                /*    dp <-<br>
>> z'*z = e'*A'*B'*B*A'*e'     */<br>
>>                             ^<br>
><br>
><br>
> I obviously do not get this warning.<br>
<br>
What compiler?  Both gcc and clang warn.<br>
</blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">I can't believe you are interested:</div><br><div class="gmail_extra">i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)</div>
<div class="gmail_extra">Copyright (C) 2007 Free Software Foundation, Inc.</div><div class="gmail_extra">This is free software; see the source for copying conditions.  There is NO</div><div class="gmail_extra">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</div>
<div><br></div><div>   Matt</div><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
</div></div>