diff --git a/DynareMain.cc b/DynareMain.cc
index 44227c9c63b63ac8f9632f7f4d5c1272cab6dcf2..4e8709b22f6ff7440424fc88ad7e6f5d88989a79 100644
--- a/DynareMain.cc
+++ b/DynareMain.cc
@@ -17,8 +17,6 @@
  * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-using namespace std;
-
 #include <iostream>
 #include <sstream>
 #include <fstream>
diff --git a/DynareMain2.cc b/DynareMain2.cc
index eb0446200e18c380570a1fee502b84b60a840337..66ade0c849b7db39e0dec14d0cb253235009f6e5 100644
--- a/DynareMain2.cc
+++ b/DynareMain2.cc
@@ -17,8 +17,6 @@
  * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-using namespace std;
-
 #include <iostream>
 
 #include "ParsingDriver.hh"
diff --git a/Shocks.cc b/Shocks.cc
index 1a943d2c697d7ff60a8d384aa99fc047dc0a53c6..d1c2ea7022dba61d35b563cd88c8851a002e1e3a 100644
--- a/Shocks.cc
+++ b/Shocks.cc
@@ -17,8 +17,6 @@
  * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-using namespace std;
-
 #include <cassert>
 #include <cstdlib>
 #include <iostream>
diff --git a/SigmaeInitialization.hh b/SigmaeInitialization.hh
index c2decb3f831887b63284e7a489256d54c6dec636..ddfcc7f10659fe4fcf856f1d1691d2842f6ea843 100644
--- a/SigmaeInitialization.hh
+++ b/SigmaeInitialization.hh
@@ -20,8 +20,6 @@
 #ifndef _SIGMAEINITIALIZATION_HH
 #define _SIGMAEINITIALIZATION_HH
 
-using namespace std;
-
 #include <string>
 #include <vector>
 
diff --git a/Statement.hh b/Statement.hh
index ff0a53e0aee53ba9eaa61446f4e7d9b967940219..0563ced9652b173d3290b11e4ec85074e814e2d2 100644
--- a/Statement.hh
+++ b/Statement.hh
@@ -20,8 +20,6 @@
 #ifndef _STATEMENT_HH
 #define _STATEMENT_HH
 
-using namespace std;
-
 #include <ostream>
 #include <string>
 #include <map>
diff --git a/WarningConsolidation.cc b/WarningConsolidation.cc
index beaf061dee40ed51b0f147fa7de8fe251fbba2db..653d473053b469ae74a08a057512db2a65a8c9fe 100644
--- a/WarningConsolidation.cc
+++ b/WarningConsolidation.cc
@@ -17,8 +17,6 @@
  * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-using namespace std;
-
 #include "WarningConsolidation.hh"
 #include <ostream>