<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Feb 16, 2015 at 4:57 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"><span class="">Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> writes:<br>
<br>
> On Mon, Feb 16, 2015 at 4:08 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
><br>
>> So whats the solution [in configure?] use -Qtype-safety ?<br>
>><br>
><br>
> Can't we just not generate the extensions that say to check for types there?<br>
<br>
</span>I don't think there is a __attribute to disable checks at the call site.<br>
</blockquote></div><br>I meant if we got rid of</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">PETSC_EXTERN PetscErrorCode PetscSFBcastBegin(PetscSF,MPI_Datatype,const void *rootdata,void *leafdata)</div><div class="gmail_extra">  PetscAttrMPIPointerWithType(3,2) PetscAttrMPIPointerWithType(4,2);</div><div><br></div><div>PetscAttrMPIPointerWithType, wouldn't it turn the check off?</div><div><br></div><div>   Matt</div><div><br></div>-- <br><div class="gmail_signature">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></div>