]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Unwarningization under Win.
authorageay <ageay>
Thu, 22 Aug 2013 14:51:11 +0000 (14:51 +0000)
committerageay <ageay>
Thu, 22 Aug 2013 14:51:11 +0000 (14:51 +0000)
src/MEDCoupling/MEDCouplingMemArray.cxx
src/MEDCoupling/MEDCouplingTimeDiscretization.hxx
src/MEDCoupling/MEDCouplingUMesh.cxx

index 67edb173c2774fdf1f7869398dff497726ad75d7..3aa67996558dce48daca4c986d83ee253b613767 100644 (file)
@@ -2161,7 +2161,7 @@ DataArrayInt *DataArrayDouble::computeNbOfInteractionsWith(const DataArrayDouble
           *retPtr=bbt.getNbOfIntersectingElems(thisBBPtr);
         break;
       }
-    defaut:
+    default:
       throw INTERP_KERNEL::Exception("DataArrayDouble::computeNbOfInteractionsWith : space dimension supported are [1,2,3] !");
     }
   
@@ -8607,7 +8607,7 @@ DataArrayInt *DataArrayInt::accumulatePerChunck(const int *bgOfIndex, const int
   int *tmp=ret->getPointer();
   for(int i=0;i<sz;i++,tmp+=nbCompo,w++)
     {
-      std::fill(tmp,tmp+nbCompo,0.);
+      std::fill(tmp,tmp+nbCompo,0);
       if(w[1]>=w[0])
         {
           for(int j=w[0];j<w[1];j++,srcPt+=nbCompo)
index 1c0c82f5bc17382e427fe657ca588dccc35e0b3e..4a608d1b2fadb5c1a9ac77cd4859beecd0fc992a 100644 (file)
@@ -215,7 +215,7 @@ namespace ParaMEDMEM
     MEDCOUPLING_EXPORT void finishUnserialization2(const std::vector<int>& tinyInfoI, const std::vector<double>& tinyInfoD) throw(INTERP_KERNEL::Exception);
   public:
     static const TypeOfTimeDiscretization DISCRETIZATION=NO_TIME;
-    static const char REPR[];
+    MEDCOUPLING_EXPORT static const char REPR[];
   private:
     static const char EXCEPTION_MSG[];
   };
@@ -279,7 +279,7 @@ namespace ParaMEDMEM
     MEDCOUPLING_EXPORT void getValueOnDiscTime(int eltId, int iteration, int order, double *value) const throw(INTERP_KERNEL::Exception);
   public:
     static const TypeOfTimeDiscretization DISCRETIZATION=ONE_TIME;
-    static const char REPR[];
+    MEDCOUPLING_EXPORT static const char REPR[];
   private:
     static const char EXCEPTION_MSG[];
   protected:
@@ -347,7 +347,7 @@ namespace ParaMEDMEM
     MEDCOUPLING_EXPORT void checkTimePresence(double time) const throw(INTERP_KERNEL::Exception);
   public:
     static const TypeOfTimeDiscretization DISCRETIZATION=CONST_ON_TIME_INTERVAL;
-    static const char REPR[];
+    MEDCOUPLING_EXPORT static const char REPR[];
   private:
     static const char EXCEPTION_MSG[];
   protected:
@@ -450,7 +450,7 @@ namespace ParaMEDMEM
     MEDCOUPLING_EXPORT void powEqual(const MEDCouplingTimeDiscretization *other) throw(INTERP_KERNEL::Exception);
   public:
     static const TypeOfTimeDiscretization DISCRETIZATION=LINEAR_TIME;
-    static const char REPR[];
+    MEDCOUPLING_EXPORT static const char REPR[];
   };
 }
 
index 7f8032783bea695404a07b33ef49abf822539797..6bb2da093b7c8356683118aa3c83ca0635969d79 100644 (file)
@@ -8851,7 +8851,7 @@ void MEDCouplingUMesh::ExtractFromIndexedArrays2(int idsOfSelectStart, int idsOf
   int *work=arrIo->getPointer();
   *work++=0;
   int lgth=0;
-  for(std::size_t i=0;i<sz;i++,work++,idsIt+=idsOfSelectStep)
+  for(int i=0;i<sz;i++,work++,idsIt+=idsOfSelectStep)
     {
       if(idsIt>=0 && idsIt<nbOfGrps)
         lgth+=arrIndxPtr[idsIt+1]-arrIndxPtr[idsIt];
@@ -8872,7 +8872,7 @@ void MEDCouplingUMesh::ExtractFromIndexedArrays2(int idsOfSelectStart, int idsOf
   arro->alloc(lgth,1);
   work=arro->getPointer();
   idsIt=idsOfSelectStart;
-  for(std::size_t i=0;i<sz;i++,idsIt+=idsOfSelectStep)
+  for(int i=0;i<sz;i++,idsIt+=idsOfSelectStep)
     {
       if(arrIndxPtr[idsIt]>=0 && arrIndxPtr[idsIt+1]<=maxSizeOfArr)
         work=std::copy(arrInPtr+arrIndxPtr[idsIt],arrInPtr+arrIndxPtr[idsIt+1],work);