fix windows compilation 68/16568/1
Antoine ELIAS [Tue, 2 Jun 2015 07:52:25 +0000 (09:52 +0200)]
Change-Id: I1d88dbdcb7db388d15220a78faeb712775a8d989

scilab/modules/ast/includes/analysis/ConstantVisitor.hxx
scilab/modules/ast/includes/symbol/symbol.hxx

index ab7b4f9..3e23ca5 100644 (file)
@@ -28,7 +28,7 @@ namespace analysis
 
 class AnalysisVisitor;
 
-class ConstantVisitor : public ast::Visitor, public Chrono
+class EXTERN_AST ConstantVisitor : public ast::Visitor, public Chrono
 {
 
     bool _result;
index 9fd3dd7..6caf3ed 100644 (file)
@@ -18,6 +18,9 @@
 #ifndef SYMBOL_HH
 #define SYMBOL_HH
 
+#ifdef _MSC_VER
+#pragma warning (disable : 4251)
+#endif
 #include <set>
 #include <list>
 #include <string>