libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./src -I./src -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -g -O2 -Wextra -Wall -Wno-unused -Wno-deprecated -DTIXML_USE_STL=1 -c src/template.cc -fPIC -DPIC -o .libs/libctemplate_wb_la-template.o In file included from ./src/ctemplate/per_expand_data.h:48:0, from ./src/ctemplate/template_modifiers.h:69, from src/template_modifiers_internal.h:53, from src/template.cc:61: ./src/ctemplate/template_string.h:88:10: error: ‘TemplateId’ does not name a type ./src/ctemplate/template_string.h:90:7: error: ‘TemplateId’ does not name a type ./src/ctemplate/template_string.h:111:13: error: ‘TemplateId’ does not name a type ./src/ctemplate/template_string.h:181:10: error: ‘TemplateId’ does not name a type ./src/ctemplate/template_string.h:182:10: error: ‘TemplateId’ does not name a type ./src/ctemplate/template_string.h:185:65: error: ‘TemplateId’ has not been declared ./src/ctemplate/template_string.h:198:3: error: ‘TemplateId’ does not name a type ./src/ctemplate/template_string.h:205:36: error: ‘TemplateId’ has not been declared ./src/ctemplate/template_string.h:213:3: error: ‘TemplateId’ does not name a type ./src/ctemplate/template_string.h: In constructor ‘ctemplate::TemplateString::TemplateString(const char*)’: ./src/ctemplate/template_string.h:148:31: error: class ‘ctemplate::TemplateString’ does not have any field named ‘id_’ ./src/ctemplate/template_string.h:148:35: error: ‘kIllegalTemplateId’ was not declared in this scope ./src/ctemplate/template_string.h: In constructor ‘ctemplate::TemplateString::TemplateString(const std::string&)’: ./src/ctemplate/template_string.h:152:31: error: class ‘ctemplate::TemplateString’ does not have any field named ‘id_’ ./src/ctemplate/template_string.h:152:35: error: ‘kIllegalTemplateId’ was not declared in this scope ./src/ctemplate/template_string.h: In constructor ‘ctemplate::TemplateString::TemplateString(const char*, size_t)’: ./src/ctemplate/template_string.h:156:31: error: class ‘ctemplate::TemplateString’ does not have any field named ‘id_’ ./src/ctemplate/template_string.h:156:35: error: ‘kIllegalTemplateId’ was not declared in this scope ./src/ctemplate/template_string.h: In copy constructor ‘ctemplate::TemplateString::TemplateString(const ctemplate::TemplateString&)’: ./src/ctemplate/template_string.h:160:41: error: class ‘ctemplate::TemplateString’ does not have any field named ‘id_’ ./src/ctemplate/template_string.h:160:47: error: ‘const class ctemplate::TemplateString’ has no member named ‘id_’ ./src/ctemplate/template_string.h: In constructor ‘ctemplate::TemplateString::TemplateString(const ctemplate::StaticTemplateString&)’: ./src/ctemplate/template_string.h:165:30: error: class ‘ctemplate::TemplateString’ does not have any field named ‘id_’ ./src/ctemplate/template_string.h:165:57: error: ‘const struct ctemplate::StaticTemplateString::’ has no member named ‘id_’ ./src/ctemplate/template_string.h: In constructor ‘ctemplate::TemplateString::TemplateString(const char*, size_t, bool, int)’: ./src/ctemplate/template_string.h:186:62: error: class ‘ctemplate::TemplateString’ does not have any field named ‘id_’ ./src/ctemplate/template_string.h: At global scope: ./src/ctemplate/template_string.h:221:7: error: ‘TemplateId’ does not name a type ./src/ctemplate/template_string.h:223:37: error: ‘ctemplate::IsTemplateIdInitialized’ declared as an ‘inline’ variable ./src/ctemplate/template_string.h:223:37: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_string.h:223:52: error: expected ‘,’ or ‘;’ before ‘{’ token ./src/ctemplate/template_string.h:229:21: error: ‘TemplateId’ has not been declared ./src/ctemplate/template_string.h:236:19: error: ‘TemplateId’ has not been declared ./src/ctemplate/template_string.h:236:33: error: ‘TemplateId’ has not been declared ./src/ctemplate/template_string.h: In member function ‘size_t ctemplate::TemplateIdHasher::operator()(int) const’: ./src/ctemplate/template_string.h:234:44: warning: right shift count >= width of type ./src/ctemplate/template_string.h: In member function ‘size_t ctemplate::StaticTemplateString::Hasher::operator()(const ctemplate::StaticTemplateString&) const’: ./src/ctemplate/template_string.h:246:3: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_string.h:246:14: error: expected ‘;’ before ‘id’ ./src/ctemplate/template_string.h:248:29: error: ‘id’ was not declared in this scope ./src/ctemplate/template_string.h: In member function ‘bool ctemplate::StaticTemplateString::Hasher::operator()(const ctemplate::StaticTemplateString&, const ctemplate::StaticTemplateString&) const’: ./src/ctemplate/template_string.h:253:3: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_string.h:253:14: error: expected ‘;’ before ‘id_a’ ./src/ctemplate/template_string.h:254:14: error: expected ‘;’ before ‘id_b’ ./src/ctemplate/template_string.h:257:29: error: ‘id_a’ was not declared in this scope ./src/ctemplate/template_string.h:257:35: error: ‘id_b’ was not declared in this scope ./src/ctemplate/template_string.h: In member function ‘bool ctemplate::TemplateString::operator==(const ctemplate::TemplateString&) const’: ./src/ctemplate/template_string.h:283:23: error: ‘GetGlobalId’ was not declared in this scope ./src/ctemplate/template_string.h:283:30: error: ‘const class ctemplate::TemplateString’ has no member named ‘GetGlobalId’ ./src/ctemplate/template_string.h: In member function ‘void ctemplate::TemplateString::CacheGlobalId()’: ./src/ctemplate/template_string.h:291:3: error: ‘id_’ was not declared in this scope ./src/ctemplate/template_string.h:291:21: error: ‘GetGlobalId’ was not declared in this scope ./src/ctemplate/template_string.h: At global scope: ./src/ctemplate/template_string.h:344:5: error: too many initializers for ‘ctemplate::StaticTemplateString::’ In file included from ./src/ctemplate/template.h:48:0, from src/template.cc:63: ./src/ctemplate/template_dictionary.h:262:30: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_dictionary.h:262:68: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_dictionary.h:262:78: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:263:61: error: ISO C++ forbids declaration of ‘type name’ with no type ./src/ctemplate/template_dictionary.h:263:87: error: wrong number of template arguments (1, should be 2) /usr/include/c++/4.5/bits/stl_pair.h:71:12: error: provided for ‘template struct std::pair’ ./src/ctemplate/template_dictionary.h:263:89: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:263:91: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:263:91: error: template argument 3 is invalid ./src/ctemplate/template_dictionary.h:263:91: error: template argument 4 is invalid ./src/ctemplate/template_dictionary.h:264:38: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_dictionary.h:264:48: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:264:65: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:264:65: error: template argument 3 is invalid ./src/ctemplate/template_dictionary.h:266:30: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_dictionary.h:266:65: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_dictionary.h:266:75: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:267:61: error: ISO C++ forbids declaration of ‘type name’ with no type ./src/ctemplate/template_dictionary.h:267:84: error: wrong number of template arguments (1, should be 2) /usr/include/c++/4.5/bits/stl_pair.h:71:12: error: provided for ‘template struct std::pair’ ./src/ctemplate/template_dictionary.h:267:86: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:267:88: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:267:88: error: template argument 3 is invalid ./src/ctemplate/template_dictionary.h:267:88: error: template argument 4 is invalid ./src/ctemplate/template_dictionary.h:268:38: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_dictionary.h:268:48: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:268:65: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:268:65: error: template argument 3 is invalid ./src/ctemplate/template_dictionary.h:270:30: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_dictionary.h:270:65: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_dictionary.h:270:75: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:271:61: error: ISO C++ forbids declaration of ‘type name’ with no type ./src/ctemplate/template_dictionary.h:271:84: error: wrong number of template arguments (1, should be 2) /usr/include/c++/4.5/bits/stl_pair.h:71:12: error: provided for ‘template struct std::pair’ ./src/ctemplate/template_dictionary.h:271:86: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:271:88: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:271:88: error: template argument 3 is invalid ./src/ctemplate/template_dictionary.h:271:88: error: template argument 4 is invalid ./src/ctemplate/template_dictionary.h:272:38: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_dictionary.h:272:48: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:272:65: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:272:65: error: template argument 3 is invalid ./src/ctemplate/template_dictionary.h:276:31: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_dictionary.h:276:69: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_dictionary.h:276:79: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:276:81: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:276:81: error: template argument 3 is invalid ./src/ctemplate/template_dictionary.h:276:81: error: template argument 4 is invalid ./src/ctemplate/template_dictionary.h:277:39: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_dictionary.h:277:49: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:279:33: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_dictionary.h:280:43: error: ‘TemplateId’ was not declared in this scope ./src/ctemplate/template_dictionary.h:280:53: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:280:55: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:280:55: error: template argument 3 is invalid ./src/ctemplate/template_dictionary.h:280:55: error: template argument 4 is invalid ./src/ctemplate/template_dictionary.h:280:57: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:280:59: error: template argument 1 is invalid ./src/ctemplate/template_dictionary.h:280:59: error: template argument 3 is invalid ./src/ctemplate/template_dictionary.h:280:59: error: template argument 4 is invalid ./src/ctemplate/template_dictionary.h:332:32: error: ‘TemplateId’ has not been declared src/template.cc:103:1: error: ‘TemplateId’ does not name a type src/template.cc: In function ‘void ctemplate::::WriteOneHeaderEntry(std::string*, const std::string&, const std::string&)’: src/template.cc:735:13: error: ‘TemplateId’ does not name a type src/template.cc:740:20: error: ‘id’ was not declared in this scope src/template.cc: In static member function ‘static void ctemplate::Template::AssureGlobalsInitialized()’: src/template.cc:2368:25: warning: comparison between signed and unsigned integer expressions make[5]: *** [libctemplate_wb_la-template.lo] Error 1