Fix compilation problems on Win32 Platform

This commit is contained in:
abd 2008-10-07 13:30:33 +00:00
parent ea83f5820d
commit c6130fee7b
10 changed files with 11 additions and 17 deletions

View File

@ -21,8 +21,6 @@
// Created : Mon Aug 2 10:30:00 2004
// Author : Edward AGAPOV (eap)
using namespace std;
#include "SMESH_Block.hxx"
#include <BRepAdaptor_Curve.hxx>

View File

@ -21,8 +21,6 @@
// Created : Mon Aug 2 10:30:00 2004
// Author : Edward AGAPOV (eap)
using namespace std;
#include "SMESH_Pattern.hxx"
#include <BRepAdaptor_Curve.hxx>

View File

@ -54,7 +54,7 @@ class QListBox;
class QListBoxItem;
class SMESHGUI;
typedef map<std::string, int> MapIOR;
typedef std::map<std::string, int> MapIOR;
//=================================================================================
// class : SMESHGUI_EditHypothesesDlg

View File

@ -26,8 +26,6 @@
#include <SMESHGUI_FileInfoDlg.h>
#include <MED_Common.hxx>
#include <qlayout.h>
#include <qlabel.h>
#include <qlineedit.h>

View File

@ -56,7 +56,7 @@ namespace SMESH
QString name = baseName;
while ( !aStudy->FindObjectByName( name.latin1(), "SMESH" ).empty() ) {
int nb = 0;
if ( name[ name.length()-1 ].isNumber() ) {
if ( name.at( name.length()-1 ).isNumber() ) {
int nbBeg = name.findRev("_");
nb = name.right( name.length() - nbBeg - 1 ).toInt();
name = name.left( nbBeg );

View File

@ -24,8 +24,6 @@
// File : StdMeshers_Penta_3D.cxx
// Module : SMESH
using namespace std;
#include "StdMeshers_Penta_3D.hxx"
#include "utilities.h"

View File

@ -25,8 +25,6 @@
// Created : Fri Oct 27 10:24:28 2006
// Author : Edward AGAPOV (eap)
using namespace std;
#include "StdMeshers_ProjectionUtils.hxx"
#include "StdMeshers_ProjectionSource1D.hxx"
@ -66,6 +64,8 @@ using namespace std;
#include <TopTools_DataMapIteratorOfDataMapOfShapeShape.hxx>
#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx>
using namespace std;
#define RETURN_BAD_RESULT(msg) { MESSAGE(")-: Error: " << msg); return false; }
#define SHOW_VERTEX(v,msg) // { \

View File

@ -1007,7 +1007,7 @@ bool StdMeshers_QuadToTriaAdaptor::Compute2ndPart(SMESH_Mesh& aMesh)
std::list<const SMDS_FaceOfNodes*> triasI = (*itrmI).second;
std::list<const SMDS_FaceOfNodes*>::iterator ittI = triasI.begin();
int nbfI = triasI.size();
const SMDS_FaceOfNodes* FsI[nbfI];
vector<const SMDS_FaceOfNodes*> FsI(nbfI);
k = 0;
for(; ittI!=triasI.end(); ittI++) {
FsI[k] = (*ittI);
@ -1025,7 +1025,7 @@ bool StdMeshers_QuadToTriaAdaptor::Compute2ndPart(SMESH_Mesh& aMesh)
std::list<const SMDS_FaceOfNodes*> triasJ = (*itrmJ).second;
std::list<const SMDS_FaceOfNodes*>::iterator ittJ = triasJ.begin();
int nbfJ = triasJ.size();
const SMDS_FaceOfNodes* FsJ[nbfJ];
vector<const SMDS_FaceOfNodes*> FsJ(nbfJ);
k = 0;
for(; ittJ!=triasJ.end(); ittJ++) {
FsJ[k] = (*ittJ);

View File

@ -49,7 +49,7 @@ public:
};
class StdMeshers_UseExisting_1D: public SMESH_1D_Algo
class STDMESHERS_EXPORT StdMeshers_UseExisting_1D: public SMESH_1D_Algo
{
public:
StdMeshers_UseExisting_1D(int hypId, int studyId, SMESH_Gen* gen);

View File

@ -26,8 +26,6 @@
// Module : SMESH
// $Header$
using namespace std;
#include "StdMeshers_ProjectionSource1D_i.hxx"
#include "SMESH_Gen_i.hxx"
@ -39,6 +37,10 @@ using namespace std;
#include "StdMeshers_ObjRefUlils.hxx"
using namespace std;
//=============================================================================
/*!
* StdMeshers_ProjectionSource1D_i::StdMeshers_ProjectionSource1D_i