[Insight-users] Controlling number of lines with CabeSwig (was Re: gcc-3.3 : final_scan_insn, at final.c:2117)

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Sep 12 05:31:15 EDT 2007


Hi again,

  Since the cxx file is generated I was wondering if cableswig could
generate code most of the code on single lines (class declaration,
functions). Command line was:

cd /home/mmalaterre/Projects/Insight-gcc/Wrapping/WrapITK/Modules/IntensityFilters
&& /home/mmalaterre/Projects/CableSwig-gcc/bin/cswig
-l/home/mmalaterre/Projects/Insight-gcc/Wrapping/WrapITK/SWIG/IntensityFilters.swg
-l/home/mmalaterre/Projects/Insight-gcc/Wrapping/WrapITK/SWIG/itk.swg
-l/home/mmalaterre/Projects/Insight-gcc/Wrapping/WrapITK/SWIG/BaseNumerics.swg
-l/home/mmalaterre/Projects/Insight-gcc/Wrapping/WrapITK/SWIG/Base.swg
-I/home/mmalaterre/Projects/CableSwig-gcc/SWIG/Lib -w362 -w389 -w467
-w503 -w508 -w509 -w516 -noruntime -Cindex
/home/mmalaterre/Projects/Insight-gcc/Wrapping/WrapITK/ClassIndex/Base.mdx
-Cindex /home/mmalaterre/Projects/Insight-gcc/Wrapping/WrapITK/ClassIndex/BaseNumerics.mdx
-Cindex /home/mmalaterre/Projects/Insight-gcc/Wrapping/WrapITK/ClassIndex/IntensityFilters.mdx
-depend /home/mmalaterre/Projects/Insight-gcc/Wrapping/WrapITK/Modules/IntensityFilters/wrap_itkRescaleIntensityImageFilter.xml.depend
-outdir /home/mmalaterre/Projects/Insight-gcc/bin -o
/home/mmalaterre/Projects/Insight-gcc/Wrapping/WrapITK/Modules/IntensityFilters/wrap_itkRescaleIntensityImageFilterPython.cxx
-c++ -I/home/mmalaterre/Projects/CableSwig-gcc/SWIG/Lib/python -python
/home/mmalaterre/Projects/Insight-gcc/Wrapping/WrapITK/Modules/IntensityFilters/wrap_itkRescaleIntensityImageFilter.xml

Any cableswig options for that ?


Thanks,
-Mathieu

On 9/12/07, Mathieu Malaterre <mathieu.malaterre at gmail.com> wrote:
> Hello,
>
>   After reporting the following bug:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33405
>
>   I discover that gcc 3.x branch will not support huge number of lines
> in a C++ file. I thought ITK + Wrap on had been compiled on the gcc
> 3.3 branch for a while. So I am wondering if I am doing anything
> wrong.
>
>   Main options are:
>
>  WRAP_ITK_DIMS                    2;3;4
>  WRAP_ITK_JAVA                    OFF
>  WRAP_ITK_PYTHON                  ON
>  WRAP_ITK_TCL                     OFF
>  WRAP_complex_double              OFF
>  WRAP_complex_float               OFF
>  WRAP_covariant_vector_double     OFF
>  WRAP_covariant_vector_float      OFF
>  WRAP_double                      ON
>  WRAP_float                       ON
>  WRAP_rgb_unsigned_char           OFF
>  WRAP_rgb_unsigned_short          OFF
>  WRAP_signed_char                 OFF
>  WRAP_signed_long                 OFF
>  WRAP_signed_short                ON
>  WRAP_unsigned_char               ON
>  WRAP_unsigned_long               OFF
>  WRAP_unsigned_short              ON
>  WRAP_vector_double               OFF
>  WRAP_vector_float                OFF
>
> Thanks,
> --
> Mathieu
>


-- 
Mathieu


More information about the Insight-users mailing list