On Tue, 2008-06-24 at 13:20 +0200, Denis Barbier wrote:
> 2008/6/24 Marc 'HE' Brockschmidt <[EMAIL PROTECTED]>:
> > Package: opencascade
> > Version: 6.2-5
> > Severity: important
> >
> > Heya,
> >
> > Building your package failed on my ppc buildd:
> [...]
> > |  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../inc -I../../../drv/Hatch 
> > -I../../../src/Hatch -I../../../drv/GeomInt -I../../../src/GeomInt 
> > -I../../../drv/IntStart -I../../../src/IntStart -I../../../drv/IntWalk 
> > -I../../../src/IntWalk -I../../../drv/IntImp -I../../../src/IntImp 
> > -I../../../drv/IntCurveSurface -I../../../src/IntCurveSurface 
> > -I../../../drv/IntSurf -I../../../src/IntSurf -I../../../drv/IntPatch 
> > -I../../../src/IntPatch -I../../../drv/Geom2dInt -I../../../src/Geom2dInt 
> > -I../../../drv/IntImpParGen -I../../../src/IntImpParGen 
> > -I../../../drv/IntRes2d -I../../../src/IntRes2d -I../../../drv/IntCurve 
> > -I../../../src/IntCurve -I../../../drv/TopTrans -I../../../src/TopTrans 
> > -I../../../drv/Intf -I../../../src/Intf -I../../../drv/ApproxInt 
> > -I../../../src/ApproxInt -I../../../drv/GccAna -I../../../src/GccAna 
> > -I../../../drv/GccEnt -I../../../src/GccEnt -I../../../drv/GccInt 
> > -I../../../src/GccInt -I../../../drv/GccIter -I../../../src/GccIter 
> > -I../../../drv/GccGeo -I../../../src/GccGeo -I../../../drv/HatchGen 
> > -I../../../src/HatchGen -I../../../drv/Geom2dHatch 
> > -I../../../src/Geom2dHatch -I../../../drv/Law -I../../../src/Law 
> > -I../../../drv/AppBlend -I../../../src/AppBlend -I../../../drv/Plate 
> > -I../../../src/Plate -I../../../drv/GeomPlate -I../../../src/GeomPlate 
> > -I../../../drv/LocalAnalysis -I../../../src/LocalAnalysis 
> > -I../../../drv/GeomAPI -I../../../src/GeomAPI -I../../../drv/GeomFill 
> > -I../../../src/GeomFill -I../../../drv/Geom2dAPI -I../../../src/Geom2dAPI 
> > -I../../../drv/Geom2dGcc -I../../../src/Geom2dGcc -I../../../drv/FairCurve 
> > -I../../../src/FairCurve -I../../../drv/NLPlate -I../../../src/NLPlate 
> > -I../../../drv/IntPolyh -I../../../src/IntPolyh -I../../../drv/TopClass 
> > -I../../../src/TopClass -g -O2 -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN 
> > -DLININTEL -D_GNU_SOURCE=1 -g -DDEB -D_DEBUG -MT 
> > Plate_SequenceNodeOfSequenceOfLinearScalarConstraint_0.lo -MD -MP -MF 
> > .deps/Plate_SequenceNodeOfSequenceOfLinearScalarConstraint_0.Tpo -c 
> > ../../../drv/Plate/Plate_SequenceNodeOfSequenceOfLinearScalarConstraint_0.cxx
> >   -fPIC -DPIC -o 
> > .libs/Plate_SequenceNodeOfSequenceOfLinearScalarConstraint_0.o
> > | In file included from 
> > ../../../inc/Plate_SequenceNodeOfSequenceOfLinearScalarConstraint.hxx:34,
> > |                  from 
> > ../../../drv/Plate/Plate_SequenceNodeOfSequenceOfLinearScalarConstraint_0.cxx:22:
> > | ../../../inc/Plate_LinearScalarConstraint.hxx:81: error: expected ',' or 
> > '...' before numeric constant
> > | ../../../inc/Plate_LinearScalarConstraint.hxx:84: error: expected ',' or 
> > '...' before numeric constant
> > | ../../../inc/Plate_LinearScalarConstraint.hxx:84: error: 
> > 'Plate_LinearScalarConstraint::Plate_LinearScalarConstraint(const 
> > Plate_Array1OfPinpointConstraint&)' cannot be overloaded
> > | ../../../inc/Plate_LinearScalarConstraint.hxx:81: error: with 
> > 'Plate_LinearScalarConstraint::Plate_LinearScalarConstraint(const 
> > Plate_Array1OfPinpointConstraint&)'
> [...]
> 
> Lines 81 and 84 of Plate_LinearScalarConstraint.hxx are
>   Standard_EXPORT Plate_LinearScalarConstraint(const
> Plate_Array1OfPinpointConstraint& PPC,const TColgp_Array1OfXYZ&
> coeff);
>   Standard_EXPORT Plate_LinearScalarConstraint(const
> Plate_Array1OfPinpointConstraint& PPC,const TColgp_Array2OfXYZ&
> coeff);
> I guess that PPC is a macro defined on powerpc arches, here is an
> untested patch.

Thank you Denis!  Marc, please let us know if this works.

I *really* wish there were a way to get this and patches like it to
upstream...

-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to