Compiling with clang fails with:
engine/symboltable.cc:47:7: error: qualified reference to 'Proc' is a
constructor name rather than a type wherever a cons
Proc::Proc* SymbolTable::init_proc_ = NULL;
This patch fixes the issue, tested on OS X 10.9, Xcode 5.1:
diff --git a/src/engine/symboltable.cc b/src/engine/symboltable.cc
index 6d84592..71965f3 100644
--- a/src/engine/symboltable.cc
+++ b/src/engine/symboltable.cc
@@ -44,7 +44,7 @@ namespace sawzall {
// ------------------------------------------------------------------------------
// Implementation of SymbolTable
-Proc::Proc* SymbolTable::init_proc_ = NULL;
+Proc* SymbolTable::init_proc_ = NULL;
List<TableType*>* SymbolTable::table_types_ = NULL;
TableType* SymbolTable::collection_type_ = NULL;
Original issue reported on code.google.com by fla...@gmail.com on 12 Apr 2014 at 9:44
Original issue reported on code.google.com by
fla...@gmail.com
on 12 Apr 2014 at 9:44