Guidance
指路人
g.yi.org
Guidance Forums
/
wxWidgets (wxWindows) in C++
/ error: redeclaration of C++ built-in type 'bool'
最新
搜索
论坛
Reginald Rexx
STC(宏晶)单片机与电路设计
wxWidgets (wxWindows) in C++
奇瑞QQ车友论坛
生活信息交流与学习角
质量与可靠性
Rapid-Q Basic
FreeBasic
Reginald
Forum
Examples
RapidQ
Forum
Bugs
Examples
Resource
RQ Doc
RQ Intro
System
LeonAutoBackup
Home
Software
App
Lib
RapidQ
Reginald
Upload
Chrononet
回顶部
⇑
Forum List
•
Thread List
•
Reply
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
1.
error: redeclaration of C++ built-in type 'bool'
#2505
Posted by:
yabid
2003-08-21 19:08:30
Hello, I have a small problem: I tried to built the default projet ( just a frame) with Dev C++ but i had this error :
error: redeclaration of C++ built-in type 'bool' coming from an included file : wxdefs.h, it refers to these ligns:
# if !defined(HAVE_BOOL)&&!defined(BOOl)&&!defined(VMS)
typedef unsigned int bool;
# endif
I don't exactly know where the problem is, it works at home or on other pc. I tried to include other libraries but it was worse.
Did someone have a similar problem before?
Thank you very much for your help.
2.
Re: error: redeclaration of C++ built-in type 'bool'
#2507
Posted by:
guidance
2003-08-21 20:06:11
I'm using mingw gcc3.3.1, seems no problem with these compiler parameters:
http://g.yi.org/_scripts/file.php?f=424&r=46
You may also try add "-DHAVE_BOOL".
3.
Re: error: redeclaration of C++ built-in type 'bool'
#2508
Posted by:
yabid
2003-08-21 21:27:04
Thank you very much, it works !
Forum List
•
Thread List
•
Reply
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
掌柜推荐
¥1,800.00
SDE-AE2H-AC CRS17差动转速速度继电器超速报警带恒定差速控制
¥470.00
FGM-R80-BI背光指针式油量表转速表20mA接口可定制双福厂家直销
¥648.00
N2H-3C-70齿轮传感器转速测量非接触式霍尔法兰直径18长70耐高压
¥478.00
D1H-5A-44双向齿轮传感器M18*1.5转速方向正反转识别非接触式霍尔
¥950.00
SRE-PD3H CRS123 超速保护继电器速度监控器转速显示欠速零速报警
¥1,480.00
DRE-AE2H双向测速速度继电器超速欠速转向正反转监视带电压或20mA
©
Thu 2023-9-28
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0