Salome HOME
windows port
authoradam <adam>
Fri, 8 Oct 2010 14:55:05 +0000 (14:55 +0000)
committeradam <adam>
Fri, 8 Oct 2010 14:55:05 +0000 (14:55 +0000)
src/SMESHGUI/SMESHGUI_FilterDlg.cxx
src/SMESH_I/SMESH_MeshEditor_i.cxx
src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx

index b7424e0354f28fe13666a2e240564f6caf309725..e15798710adbaf357901a6c2c2d42513059c42d1 100755 (executable)
@@ -317,7 +317,7 @@ void SMESHGUI_FilterTable::AdditionalWidget::SetPrecision(const int theId, const
     if ( qobject_cast<SMESHGUI_SpinBox*>( myWidgets[ theId ] ) ) {
       SMESHGUI_SpinBox* sb = qobject_cast<SMESHGUI_SpinBox*>( myWidgets[ theId ] );
       double val = sb->GetValue();
-      double min = pow(10, -(sb->decimals()));
+      double min = pow(10.0, -(sb->decimals()));
       sb->RangeStepAndValidator( 0., 1.e20, 0.1, precision ? precision : "len_tol_precision" );
       sb->SetValue( qMax( val, min ) );
     }
index 1a457eefbaceaf04e1618e233d7d712a51fd79da..6aca887bdc54bc024dd09f39ddd284bc297427cc 100644 (file)
 //  Author : Nicolas REJNERI
 //  Module : SMESH
 //
+#ifdef WNT
+#define NOMINMAX
+#endif
+
 #include "SMESH_MeshEditor_i.hxx"
 
 #include "SMDS_Mesh0DElement.hxx"
index 5f56d5d786021c24719f616544dca4a25d28ae1a..39dfd2e13f8bccd02922c79ef64e94c97e820676 100644 (file)
@@ -60,7 +60,7 @@ namespace
    */
   //================================================================================
 
-  class SMDS_EXPORT Q2TAdaptor_Triangle : public SMDS_MeshFace
+  class STDMESHERS_EXPORT Q2TAdaptor_Triangle : public SMDS_MeshFace
   {
     const SMDS_MeshNode* _nodes[3];
   public: