mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0023664: Eliminate linker warnings on import of local symbol
Standard_IMPORT removed or replaced by 'export' where it applies to a symbol defined in the same toolkit
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
#include <BRep_GCurve.hxx>
|
||||
|
||||
#ifdef DEB
|
||||
Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceCORRISO();
|
||||
extern Standard_Boolean TopOpeBRepTool_GettraceCORRISO();
|
||||
Standard_EXPORT TopTools_IndexedMapOfShape STATIC_PURGE_mapv;
|
||||
Standard_EXPORT TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds;
|
||||
#endif
|
||||
|
@@ -65,13 +65,12 @@
|
||||
#include <Geom_RectangularTrimmedSurface.hxx>
|
||||
#include <BRep_Tool.hxx>
|
||||
|
||||
Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettracePCURV();
|
||||
Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceCHKBSPL();
|
||||
|
||||
#ifdef DEB
|
||||
#include <TopOpeBRepTool_KRO.hxx>
|
||||
TOPKRO KRO_CURVETOOL_APPRO("approximation");
|
||||
Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceKRO();
|
||||
extern Standard_Boolean TopOpeBRepTool_GettraceKRO();
|
||||
extern Standard_Boolean TopOpeBRepTool_GettracePCURV();
|
||||
extern Standard_Boolean TopOpeBRepTool_GettraceCHKBSPL();
|
||||
#endif
|
||||
//#define DRAW
|
||||
//#define IFV
|
||||
|
@@ -76,7 +76,7 @@
|
||||
#include <BSplCLib.hxx>
|
||||
|
||||
#ifdef DEB
|
||||
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceFE();
|
||||
extern Standard_Boolean TopOpeBRepBuild_GettraceFE();
|
||||
#endif
|
||||
|
||||
//=======================================================================
|
||||
|
@@ -52,8 +52,8 @@
|
||||
//Standard_EXPORT TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds, STATIC_CORR_mapeds;
|
||||
|
||||
Standard_EXPORT void debcorrUV(){};
|
||||
Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettracePURGE();
|
||||
Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettraceCORRISO();
|
||||
extern Standard_Boolean TopOpeBRepTool_GettracePURGE();
|
||||
extern Standard_Boolean TopOpeBRepTool_GettraceCORRISO();
|
||||
#endif
|
||||
// DEB
|
||||
|
||||
|
@@ -27,12 +27,12 @@
|
||||
#include <gp_Pnt2d.hxx>
|
||||
|
||||
#ifdef DEB
|
||||
Standard_IMPORT void FUN_REINIT();
|
||||
Standard_IMPORT Standard_Integer FUN_addepc(const TopoDS_Shape& ed,const TopoDS_Shape& f);
|
||||
Standard_IMPORT Standard_Integer FUN_addcheckepc(const TopoDS_Shape& ed,const TopoDS_Shape& f);
|
||||
Standard_IMPORT Standard_Integer FUN_adds(const TopoDS_Shape& s);
|
||||
Standard_IMPORT void FUN_tool_trace(const Standard_Integer Index);
|
||||
Standard_IMPORT void FUN_tool_trace(const gp_Pnt2d p2d);
|
||||
extern void FUN_REINIT();
|
||||
extern Standard_Integer FUN_addepc(const TopoDS_Shape& ed,const TopoDS_Shape& f);
|
||||
extern Standard_Integer FUN_addcheckepc(const TopoDS_Shape& ed,const TopoDS_Shape& f);
|
||||
extern Standard_Integer FUN_adds(const TopoDS_Shape& s);
|
||||
extern void FUN_tool_trace(const Standard_Integer Index);
|
||||
extern void FUN_tool_trace(const gp_Pnt2d p2d);
|
||||
#endif
|
||||
// ----------------------------------------------------------------------
|
||||
// TopOpeBRepTool_closing.cxx
|
||||
|
@@ -49,7 +49,7 @@
|
||||
#define CLOSING (5)
|
||||
|
||||
#ifdef DEB
|
||||
Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceREGUSO();
|
||||
extern Standard_Boolean TopOpeBRepTool_GettraceREGUSO();
|
||||
static TopTools_IndexedMapOfShape STATIC_mape, STATIC_mapf, STATIC_mapw, STATIC_mapsh;
|
||||
static Standard_Integer FUN_adds(const TopoDS_Shape& s) {
|
||||
TopAbs_ShapeEnum typ = s.ShapeType();
|
||||
|
@@ -47,7 +47,7 @@
|
||||
#define M_EXTERNAL(ori) (ori == TopAbs_EXTERNAL)
|
||||
|
||||
#ifdef DEB
|
||||
Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceREGUFA();
|
||||
extern Standard_Boolean TopOpeBRepTool_GettraceREGUFA();
|
||||
static TopTools_IndexedMapOfShape STATIC_mapf, STATIC_mapw, STATIC_mapv;
|
||||
static TopTools_IndexedMapOfOrientedShape STATIC_mapeds;
|
||||
void FUN_tro(const Standard_Integer i)
|
||||
@@ -73,7 +73,7 @@ Standard_EXPORT Standard_Integer FUN_adds(const TopoDS_Shape& s) {
|
||||
}
|
||||
#endif
|
||||
|
||||
Standard_IMPORT void FUN_tool_tori(const TopAbs_Orientation Or);
|
||||
extern void FUN_tool_tori(const TopAbs_Orientation Or);
|
||||
|
||||
void FUN_tool_Add(TopTools_DataMapOfShapeListOfShape& map,const TopoDS_Shape& key, const TopoDS_Shape& subitem)
|
||||
{
|
||||
|
@@ -47,7 +47,7 @@
|
||||
#define M_EXTERNAL(sta) (sta == TopAbs_EXTERNAL)
|
||||
|
||||
#ifdef DEB
|
||||
Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettraceREGUFA();
|
||||
extern Standard_Boolean TopOpeBRepTool_GettraceREGUFA();
|
||||
static TopTools_IndexedMapOfShape STATIC_mapw,STATIC_mapf;
|
||||
static Standard_Integer FUN_adds(const TopoDS_Shape& s) {
|
||||
TopAbs_ShapeEnum typ = s.ShapeType();
|
||||
|
@@ -250,8 +250,8 @@ Standard_Boolean TopOpeBRepTool_ShapeTool::Closed(const TopoDS_Shape& S1,
|
||||
|
||||
|
||||
#ifdef DEB
|
||||
Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceVC();
|
||||
Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceNYI();
|
||||
extern Standard_Boolean TopOpeBRepTool_GettraceVC();
|
||||
extern Standard_Boolean TopOpeBRepTool_GettraceNYI();
|
||||
#endif
|
||||
|
||||
|
||||
|
@@ -39,11 +39,9 @@
|
||||
#endif
|
||||
|
||||
#ifdef DEB
|
||||
//Standard_IMPORT extern TopTools_IndexedMapOfShape STATIC_PURGE_mapv;
|
||||
Standard_IMPORT TopTools_IndexedMapOfShape STATIC_PURGE_mapv;
|
||||
//Standard_IMPORT extern TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds;
|
||||
Standard_IMPORT TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds;
|
||||
Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettracePURGE();
|
||||
extern TopTools_IndexedMapOfShape STATIC_PURGE_mapv;
|
||||
extern TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds;
|
||||
extern Standard_Boolean TopOpeBRepTool_GettracePURGE();
|
||||
Standard_EXPORT void FUN_REINIT()
|
||||
{STATIC_PURGE_mapv.Clear(); STATIC_PURGE_mapeds.Clear();}
|
||||
static void FUN_RaiseError()
|
||||
|
Reference in New Issue
Block a user