Apache OpenOffice (AOO) Bugzilla – Issue 105449
oox: build fails because of missing include
Last modified: 2009-09-29 14:17:15 UTC
There is strncmp used in tokens.inc (output of gperf), but the corresponding header file is not included. There are two possible fixes: call gperf with --includes or add #include <cstring> to tokenmap.cxx, where tokens.inc itself is included. I prefer the latter one, because tokens.inc is included inside of a default namespace and including std. stuff, even if it's "just" C, to other namespace doesn't sound right.
Created attachment 65036 [details] call gperf with --includes
Created attachment 65037 [details] #include <cstring> where needed
double and already fixed *** This issue has been marked as a duplicate of 105219 ***
closed