foo.cpp:6:8: error: macro names must be identifiers
foo.cpp:7:8: error: macro names must be identifiers
foo.cpp:8:8: error: macro names must be identifiers
foo.cpp:9:8: error: macro names must be identifiers
foo.cpp:5:6: error: expected nested-name-specifier before '&' token
foo.cpp:5:6: error: expected unqualified-id before '&' token
foo.cpp:5:6: error: expected ';' before '&' token
foo.cpp:5:11: error: expected constructor, destructor, or type conversion before ';' token
foo.cpp:5:21: error: expected identifier before '&' token
foo.cpp:5:26: error: expected constructor, destructor, or type conversion before ';' token
foo.cpp:5:27: error: 'std' does not name a type
foo.cpp:10:5: error: 'nbsp' declared as reference but not initialized
foo.cpp:10:10: error: 's' does not name a type
foo.cpp:11:6: error: redefinition of 'int& nbsp'
foo.cpp:10:5: error: 'int& nbsp' previously declared here
foo.cpp:11:11: error: 'ind' does not name a type
foo.cpp:12:5: error: redefinition of 'int& nbsp'
foo.cpp:10:5: error: 'int& nbsp' previously declared here
foo.cpp:12:10: error: 'map' does not name a type
foo.cpp:13:1: error: 'vector' does not name a type
foo.cpp:15:5: error: redefinition of 'int& nbsp'
foo.cpp:10:5: error: 'int& nbsp' previously declared here
foo.cpp:15:15: error: ISO C++ forbids declaration of 'init' with no type [-fpermissive]
foo.cpp: In function 'int init()':
foo.cpp:17:6: error: 'nbsp' declared as reference but not initialized
foo.cpp:17:11: error: 'n' was not declared in this scope
foo.cpp:17:13: error: 'm' was not declared in this scope
foo.cpp:17:15: error: 'tt' was not declared in this scope
foo.cpp:17:18: error: 'x' was not declared in this scope
foo.cpp:17:20: error: 'y' was not declared in this scope
foo.cpp:19:6: error: 'i' was not declared in this scope
foo.cpp:19:9: error: 'rep' was not declared in this scope
foo.cpp:20:2: error: expected ';' before '{' token
foo.cpp:17:6: warning: unused variable 'nbsp' [-Wunused-variable]
foo.cpp:236:1: error: expected '}' at end of input
foo.cpp:236:1: warning: no return statement in function returning non-void [-Wreturn-type]