[Insight-developers] gcc3.4 Status -- THANKS BILL

Hans Johnson hans-johnson at psychiatry.uiowa.edu
Wed Dec 29 16:47:22 EST 2004


Bill,

A HUGE thank you for all this hard work. Just wanted to mention that TCL
wrapping does not work yet, but it seems to be a CableSwig issue and not
an ITK proper issue.

Hans


On Dec 29, 2004 12:33 PM, Bill Lorensen <wlorens1 at nycap.rr.com> wrote:

> Folks,
> 
> We have been working on the gcc3.4 port for the past few weeks.
> 
> First, I want to thank Demian Nave at Penn State for the first pass he
> made
> through the upgrade to gcc3.4. Whenever I was stuck with some obscure
> C++
> problem, I looked at Demian's changes and found the answer.
> 
> Most changes boiled down to replacing access to superclass ivars with 
> either an access through a superclass method or a dereference with
> this->.
> 
> For example,
>    a = m_Foo;
> 
> was replaced with
> 
> a = this->GetFoo();
> or
> a = this->m_Foo;
> 
> I treated each class on its own merits and generally used method
> access.
> For Iterators and Transforms, I used the this-> dereference since the
> code
> looked too crufty using method access. For some levelset code, I got
> mired
> in const-hell and took the this-> (easy) way out.
> 
> None of these changes should affect the API, although some user
> written
> classes may not compile under gcc 3.4 if the proper dereferencing of
> member
> data is not followed.
> 
> Luis added a nightly, and I've added a continuous for this new
> compiler.
> 
> I have not tackled InsightApplications.
> 
> Bill
> 
> 
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
> 

Hans Johnson
hans-johnson at uiowa.edu



More information about the Insight-developers mailing list