From: kgv Date: Mon, 29 May 2017 09:08:38 +0000 (+0300) Subject: Add missing dependences to EXTERNLIB X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=aef69abba1158376c150dec40e4717970869c03c;p=occt-copy.git Add missing dependences to EXTERNLIB --- diff --git a/src/TKVRML/EXTERNLIB b/src/TKVRML/EXTERNLIB index ed69fdfbd8..5000908dbf 100755 --- a/src/TKVRML/EXTERNLIB +++ b/src/TKVRML/EXTERNLIB @@ -11,4 +11,5 @@ TKHLR TKService TKGeomAlgo TKV3d -TKSTL \ No newline at end of file +TKSTL +TKShHealing diff --git a/src/TKXDEDRAW/EXTERNLIB b/src/TKXDEDRAW/EXTERNLIB index 85edbded0e..a6a7b608d8 100755 --- a/src/TKXDEDRAW/EXTERNLIB +++ b/src/TKXDEDRAW/EXTERNLIB @@ -24,3 +24,4 @@ TKDCAF TKViewerTest TKBinXCAF TKXmlXCAF +TKVRML diff --git a/src/VrmlData/VrmlData_IndexedLineSet.cxx b/src/VrmlData/VrmlData_IndexedLineSet.cxx index bd2642ab5f..f9e5dbe074 100644 --- a/src/VrmlData/VrmlData_IndexedLineSet.cxx +++ b/src/VrmlData/VrmlData_IndexedLineSet.cxx @@ -33,6 +33,10 @@ IMPLEMENT_STANDARD_RTTIEXT(VrmlData_IndexedLineSet,VrmlData_Geometry) #pragma warning (disable:4996) #endif +namespace +{ + static Handle(TopoDS_TShape) THE_NULL_SHAPE; +} //======================================================================= //function : GetColor @@ -82,7 +86,7 @@ const Handle(TopoDS_TShape)& VrmlData_IndexedLineSet::TShape () // } // myTShape = aWire.TShape(); //} - return Handle(TopoDS_TShape)(); + return THE_NULL_SHAPE; } //======================================================================= diff --git a/src/XCAFDoc/XCAFDoc_NoteBinData.cxx b/src/XCAFDoc/XCAFDoc_NoteBinData.cxx index c8bb3e3f98..1d3ae8934b 100644 --- a/src/XCAFDoc/XCAFDoc_NoteBinData.cxx +++ b/src/XCAFDoc/XCAFDoc_NoteBinData.cxx @@ -114,7 +114,7 @@ XCAFDoc_NoteBinData::Set(const TCollection_ExtendedString& theTitle, if (theFile.Size() > (Standard_Size)IntegerLast()) return Standard_False; - myData.reset(new TColStd_HArray1OfByte(1, (Standard_Integer)theFile.Size())); + myData.reset(new TColStd_HArray1OfByte(1, static_cast(theFile.Size()))); Standard_Integer nbReadBytes = 0; theFile.Read((Standard_Address)&myData->First(), myData->Length(), nbReadBytes); if (nbReadBytes < myData->Length())