LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 659|回复: 0

gcc 4.4编译openoffice base beta的补丁

[复制链接]
发表于 2009-4-28 14:14:01 | 显示全部楼层 |阅读模式
新版的gcc确实带来了一些问题,比如我的openoffice,看到有新的m11了,就编译,结果出错了,不过错误还比较简单,没复杂的地方。

如果有朋友编译的话,可以用一下这个补丁,应该没问题。
  1. diff -aur OOO310_m11/sw/source/core/doc/docbm.cxx OOO310_m11.new/sw/source/core/doc/docbm.cxx
  2. --- OOO310_m11/sw/source/core/doc/docbm.cxx    2009-04-26 03:05:02.000000000 +0800
  3. +++ OOO310_m11.new/sw/source/core/doc/docbm.cxx    2009-04-28 11:43:39.684101752 +0800
  4. @@ -63,6 +63,7 @@
  5. // --> OD 2007-10-23 #i81002#
  6. #include <ndtxt.hxx>
  7. // <--
  8. +#include <stdio.h>
  9. SV_IMPL_OP_PTRARR_SORT(SwBookmarks, SwBookmarkPtr)
  10. diff -aur OOO310_m11/sw/source/filter/ww8/WW8TableInfo.cxx OOO310_m11.new/sw/source/filter/ww8/WW8TableInfo.cxx
  11. --- OOO310_m11/sw/source/filter/ww8/WW8TableInfo.cxx    2009-04-26 03:04:38.000000000 +0800
  12. +++ OOO310_m11.new/sw/source/filter/ww8/WW8TableInfo.cxx    2009-04-28 11:46:24.967120225 +0800
  13. @@ -37,6 +37,7 @@
  14. #include "pam.hxx"
  15. #include "ndtxt.hxx"
  16. #include "dbgoutsw.hxx"
  17. +#include <stdio.h>
  18. namespace ww8
  19. {
复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表