kylix3中的bcb不能编译和运行程序,请教高手???????!!!!!!!!!(100分)

  • 主题发起人 主题发起人 dongygisme
  • 开始时间 开始时间
D

dongygisme

Unregistered / Unconfirmed
GUEST, unregistred user!
我下了KYLIX3并安装到RH8以后,delphi没问题,但bcb就不行了,在timh.h中出现了
无数错误,具体如下:
[C++ Error] time.h(60): E2141 Declaration syntax error
[C++ Error] time.h(63): E2141 Declaration syntax error
[C++ Error] time.h(79): E2238 Multiple declaration for ‘__END_NAMESPACE_STD‘
[C++ Error] time.h(63): E2344 Earlier declaration of ‘__END_NAMESPACE_STD‘
[C++ Error] time.h(79): E2141 Declaration syntax error
[C++ Error] time.h(129): E2238 Multiple declaration for ‘__begin
_NAMESPACE_STD‘
[C++ Error] time.h(60): E2344 Earlier declaration of ‘__begin
_NAMESPACE_STD‘
[C++ Error] time.h(129): E2141 Declaration syntax error
[C++ Error] time.h(151): E2238 Multiple declaration for ‘__END_NAMESPACE_STD‘
[C++ Error] time.h(79): E2344 Earlier declaration of ‘__END_NAMESPACE_STD‘
[C++ Error] time.h(151): E2141 Declaration syntax error
[C++ Error] time.h(179): E2238 Multiple declaration for ‘__begin
_NAMESPACE_STD‘
[C++ Error] time.h(129): E2344 Earlier declaration of ‘__begin
_NAMESPACE_STD‘
[C++ Error] time.h(179): E2141 Declaration syntax error
[C++ Error] time.h(182): E2141 Declaration syntax error
[C++ Error] time.h(185): E2293 ) expected
[C++ Error] time.h(189): E2141 Declaration syntax error
[C++ Error] time.h(224): E2238 Multiple declaration for ‘__END_NAMESPACE_STD‘
[C++ Error] time.h(151): E2344 Earlier declaration of ‘__END_NAMESPACE_STD‘
[C++ Error] time.h(224): E2141 Declaration syntax error
[C++ Error] time.h(231): E2293 ) expected
[C++ Error] time.h(237): E2238 Multiple declaration for ‘__END_NAMESPACE_STD‘
[C++ Error] time.h(224): E2344 Earlier declaration of ‘__END_NAMESPACE_STD‘
[C++ Error] time.h(237): E2141 Declaration syntax error
[C++ Error] time.h(242): E2293 ) expected
[C++ Error] time.h(242): E2228 Too many error or warning messages
 
http://www.linuxaid.com.cn/forum/
 
1.重复[声明变量,
2.没加分号
 
重新下载头文件,kylix3的头文件有问题。
 
这是因为/usr/include中的四个文件(stdib.h,signal.h,string.h,time.h)与kylix3的编译
器不兼容,下载kylix.linuxaid.com.cn/kylix3/kylix3-rh8-include_patch.tar,解压
后覆盖/usr/include中的文件就可以了
转自:linuxaid.com.cn/forum
 
后退
顶部