[Insight-users] Patch for ItkVtkGlue warning

Bill Lorensen bill.lorensen at gmail.com
Sat Oct 6 07:54:14 EDT 2012


Just fixed with:
using Superclass:SetInput

This is the way we do this in ITK.

BTW: you can directly edit the wiki page code. The pages are scraped
nightly to update the repository.

Thanks,

Bill

On Fri, Oct 5, 2012 at 7:05 PM, David Gobbi <david.gobbi at gmail.com> wrote:

> Hi Bill,
>
> I saw the warning with both gcc 4.2 and clang 3.1 on OS X.  I believe
> the flags were just -Wall -Wextra (I can't check the flags from home,
> because my work machine is on the other side of a hospital
> firewall...)
>
>  - David
>
>
> On Fri, Oct 5, 2012 at 3:01 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
> > David,
> >
> > Thanks, I'll take a look. On what system did you see the warning and with
> > what flags?
> >
> > I may use the "using" keyword instead. We have done that frequently in
> ITK.
> >
> > Bill
> >
> >
> > On Fri, Oct 5, 2012 at 2:32 PM, David Gobbi <david.gobbi at gmail.com>
> wrote:
> >>
> >> Hi Bill,
> >>
> >> What is the method for submitting patches to the ITK wiki examples?
> >>
> >> I was seeing a warning in ItkVtkGlue about the
> >>  itk::ImageToVTKImageFilter::SetInput(const InputImageType *)
> >> method hiding the
> >>  itk::ProcessObject::SetInput(const DataObjectIdentifierType&,
> >> DataObject*)
> >> method.  A patch that fixes the warning is attached.
> >>
> >>  - David
> >
> >
> >
> >
> > --
> > Unpaid intern in BillsBasement at noware dot com
> >
>



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121006/5efcba32/attachment.htm>


More information about the Insight-users mailing list