diff --git a/preprocessor/Shocks.cc b/preprocessor/Shocks.cc
index eebd89fd0c5bcdbfcf3616565563daeb18455204..a909cb15978422483ab50d2eef8f02d39e4878be 100644
--- a/preprocessor/Shocks.cc
+++ b/preprocessor/Shocks.cc
@@ -193,7 +193,7 @@ ShocksStatement::writeCovarAndCorrShocks(ostream &output) const
 }
 
 void
-ShocksStatement::checkPass(ModFileStructure &mod_file_struct)
+ShocksStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
 {
   // Workaround for trac ticket #35
   mod_file_struct.shocks_present = true;
@@ -242,7 +242,7 @@ MShocksStatement::writeOutput(ostream &output, const string &basename) const
 }
 
 void
-MShocksStatement::checkPass(ModFileStructure &mod_file_struct)
+MShocksStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
 {
   // Workaround for trac ticket #35
   mod_file_struct.shocks_present = true;
@@ -256,7 +256,7 @@ ConditionalForecastPathsStatement::ConditionalForecastPathsStatement(const Abstr
 }
 
 void
-ConditionalForecastPathsStatement::checkPass(ModFileStructure &mod_file_struct)
+ConditionalForecastPathsStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
 {
   for (AbstractShocksStatement::det_shocks_t::const_iterator it = paths.begin();
        it != paths.end(); it++)
diff --git a/preprocessor/Shocks.hh b/preprocessor/Shocks.hh
index 51475f71165851b16cae83d58d5b48f490be6195..1f4c34c9e348f447df560de8a480053db0db5901 100644
--- a/preprocessor/Shocks.hh
+++ b/preprocessor/Shocks.hh
@@ -72,7 +72,7 @@ public:
                   const covar_and_corr_shocks_t &corr_shocks_arg,
                   const SymbolTable &symbol_table_arg);
   virtual void writeOutput(ostream &output, const string &basename) const;
-  virtual void checkPass(ModFileStructure &mod_file_struct);
+  virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
 };
 
 class MShocksStatement : public AbstractShocksStatement
@@ -81,7 +81,7 @@ public:
   MShocksStatement(const det_shocks_t &det_shocks_arg,
                    const SymbolTable &symbol_table_arg);
   virtual void writeOutput(ostream &output, const string &basename) const;
-  virtual void checkPass(ModFileStructure &mod_file_struct);
+  virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
 };
 
 class ConditionalForecastPathsStatement : public Statement
@@ -93,7 +93,7 @@ private:
 public:
   ConditionalForecastPathsStatement(const AbstractShocksStatement::det_shocks_t &paths_arg,
                                     const SymbolTable &symbol_table_arg);
-  virtual void checkPass(ModFileStructure &mod_file_struct);
+  virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
   virtual void writeOutput(ostream &output, const string &basename) const;
 };