I just got the following error: /tmp/openoffice/src/openoffice-3.1.1/sw/source/filter/ww8/WW8TableInfo.cxx: In member function 'std::string ww8::WW8TableNodeInfoInner::toString() const': /tmp/openoffice/src/openoffice-3.1.1/sw/source/filter/ww8/WW8TableInfo.cxx:152: error: 'snprintf' was not declared in this scope /tmp/openoffice/src/openoffice-3.1.1/sw/source/filter/ww8/WW8TableInfo.cxx: In member function 'std::string ww8::WW8TableNodeInfo::toString() const': /tmp/openoffice/src/openoffice-3.1.1/sw/source/filter/ww8/WW8TableInfo.cxx:176: error: 'snprintf' was not declared in this scope dmake: Error code 1, while making '../../../unxlngx6.pro/slo/WW8TableInfo.obj'
I added stdio.h in the WW8TableInfo.cxx file, and running it again, hopefully it will go smooth. -imam -----Original Message----- From: Toufique, Imam [mailto:[email protected]] Sent: Tuesday, February 09, 2010 11:20 AM To: [email protected] Subject: RE: [dev] Re: dmake error: while building ucbhelper OK, Thanks! Now, If I want to restart the build right where it aborted, it there are a way to do so? This is probabley a stupid question, but I thought you guys are experts on it, you might know. Thanks again! -imam -----Original Message----- From: Caolán McNamara [mailto:[email protected]] Sent: Tuesday, February 09, 2010 1:52 AM To: [email protected] Subject: RE: [dev] Re: dmake error: while building ucbhelper On Tue, 2010-02-09 at 02:37 -0700, Toufique, Imam wrote: > Hi! > > I got pass my last error, actually almost got through the build (I > think). But, I got hit by the following error: > > > /tmp/openoffice/src/openoffice-3.1.1/sw/source/core/doc/docbm.cxx:353: > error: 'printf' was not declared in this scope This is trivial. Add #include <stdio.h> to the top of the file. Latest gcc's headers have less implicit includes than olders, so stdio.h needs to be explicitly included these days if printf/fprintf are used. This is fixed in OOo dev branch. C. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
