Apache OpenOffice (AOO) Bugzilla – Issue 15350
GCC 2 Bug: calling member function in array initialises breaks build with gcc2
Last modified: 2004-02-15 07:20:34 UTC
As the subject states, the problem lies with a member function being called in an array initialiser. The simple fix is to assign the return value of the function to a variable, and pass the variable into the array initialiser.
added keyword and target milestone
Created attachment 6696 [details] patch for xmloff/source/text/txtimp.cxx
Hi, This change looks fine but again it is in danger of being reverted by the module owner since there is no obvious justifcation for the need for the change. I would rather you committed this with an ifdef IRIX and a small comment indicating gcc bug then change this for everyone and then have it reverted or ignored during the merge. BTW: doesn't gcc 3.3 work on Irix. Why not move the build to a newer compiler without all of these issues? Approved with ifdef and comment indicating why so it can later be revisited if need be. Kevin
re-assigning to Nick Blievers
mh->nick,georgez: need/will this be fixed for 1.1rc ?
Yes, this should be fixed for 1.1rc, I will re-work the patch and post.
Created attachment 7083 [details] xmloff/source/text/txtimp.cxx - #ifdef'd change to IRIX and added comment
I dont have check in permission for 1.1, please check in
Checked into cws_srx645_ooo11rc
mark as verified
close issue.