[Insight-developers] excluding part of code from compilation

Aljaz Noe noe@grasp.cis.upenn.edu
Wed, 1 May 2002 18:54:40 -0400


I moved the whole itpack in one file. Maybe the included *.c file was
bothering the gcc compiler...

Aljaz

> -----Original Message-----
> From: insight-developers-admin@public.kitware.com
> [mailto:insight-developers-admin@public.kitware.com]On Behalf Of Bill
> Lorensen
> Sent: Wednesday, May 01, 2002 6:24 PM
> To: Aljaz Noe; Insight-Developers; Lorensen, William E (Research)
> Subject: RE: [Insight-developers] excluding part of code from
> compilation
>
>
> This has to be resolved. Other errors are getting lost in the
> forest of these errors. Perhaps someone else on the list can look
> at this problem.
> It only occurs under linux.
>
> Bill
>
> At 06:19 PM 5/1/02 -0400, Aljaz Noe wrote:
> >Yes. That is the main problem. And I would rather leave the
> original itpack
> >code intact if that is possible.
> >
> >Making the functions static was not the right solution, since other
> >compilers reported a lot of warnings about functions being never used. I
> >figured, that by making functions static only on the problematic
> pragmatic
> >machine, would solve the problem.
> >
> >Aljaz
> >
> >> -----Original Message-----
> >> From: insight-developers-admin@public.kitware.com
> >> [mailto:insight-developers-admin@public.kitware.com]On Behalf Of
> >> Lorensen, William E (Research)
> >> Sent: Wednesday, May 01, 2002 5:02 PM
> >> To: 'Aljaz Noe'; Insight-Developers
> >> Subject: RE: [Insight-developers] excluding part of code from
> >> compilation
> >>
> >>
> >> There are deeper problems I think. The unresolved symbols seem to
> >> be redeclared in the included file.
> >>
> >> -----Original Message-----
> >> From: Aljaz Noe [mailto:noe@grasp.cis.upenn.edu]
> >> Sent: Wednesday, May 01, 2002 1:07 PM
> >> To: Insight-Developers
> >> Subject: [Insight-developers] excluding part of code from compilation
> >>
> >>
> >> Hi!
> >>
> >> How can I prevent a part of code from compiling on pragmatic?
> >> What macro is defined on the compiler
> >> on that machine?
> >>
> >> Aljaz
> >>
> >>
> >> _______________________________________________
> >> Insight-developers mailing list
> >> Insight-developers@public.kitware.com
> >> http://public.kitware.com/mailman/listinfo/insight-developers
> >>
> >
> >_______________________________________________
> >Insight-developers mailing list
> >Insight-developers@public.kitware.com
> >http://public.kitware.com/mailman/listinfo/insight-developers
>
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>