Commits

David McClosky committed afd2d43

first-stage/PARSE/utils: Only warn() if we're not in silent mode
Also updated dependencies for ChartBase.C since silence info lives
in Bchart.h.

Comments (0)

Files changed (2)

first-stage/PARSE/ChartBase.C

  */
 
 #include "ChartBase.h"
+#include "Bchart.h"
 #include <math.h>
 #include "GotIter.h"
 #include "InputTree.h"

first-stage/PARSE/utils.h

 #include <vector>
 #include <clocale>
 
-#define WARN( msg ) warn( __FILE__, __LINE__, msg )
+#define WARN( msg ) if (!Bchart::silent) { warn( __FILE__, __LINE__, msg ); }
 #define ERROR( msg ) error( __FILE__, __LINE__, msg )
 
 void warn( const char *filename, int filelinenum, const char *msg );