Apache OpenOffice (AOO) Bugzilla – Issue 14776
IRIX port: putc overloaded in filter/source/placeware/zip.cxx
Last modified: 2004-02-15 07:20:37 UTC
In filter/source/placeware/zip.cxx, putc has been overloaded. On some platforms this may work fine, but on Irix putc is macro. eg: #define putc(i) fputc(stdout, i) The overloaded funtion will cause compile erros on Irix. One solution is to #undef putc in this file, but I dont like this approach as it is very messy, and bad coding. The best thing would be to rename the overloaded funtion to say putC.
accepting issue
Created attachment 6343 [details] filter/source/placeware/zip.cxx
added keyword
Hi George, This looks fine to me. Since the original putc implementation was "static" its scope was only inside that file and since no header contains that function and since no predeclartion needed (since the defintion came first) your change should be fine. approved Kevin
re-assigning to Nick Blievers
retarget.
Checked into cws_srx645_ooo11rc
mark as verified
close issue.