On 11/18/2012 11:48 PM, midar-github.master wrote: [...]
############################################################################ Commit: 6090683e5e798b2ebbbcf42699b577003202e232 Author: Jonathan Schleifer <js@xxxxxxxxxxx> Date: Sun Nov 18 22:27:44 2012 UTC Make WebPositive compile with Clang. I don't really know why the change in HashMap.h was needed, but without it, Clang gave the following error: src/apps/webpositive/support/HashMap.h:461:29: error: elaborated type refers to a typedef struct HashMap<Key, Value>::Element * ^ src/apps/webpositive/support/HashMap.h:194:37: note: declared here typedef HashMapElement<Key, Value> Element;
Since it's a typedef the "struct" is incorrect. It should instead say "typename".
CU, Ingo