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
•
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
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
掌柜推荐
¥1,280.00
双福SDE-PD2H差动转速速度继电器超欠速差速报警打滑监测同步
¥1,280.00
上海双福DRE-PE2H CRS55双向速度继电器正反转速表长度深度计数
¥888.00
双福SRE-PD3H-AC速度继电器转速监控超速过速欠速零速打滑检测
¥289.00
N1H-7A-55 100齿轮转速传感器速度探头M18*1可测零速高速几万转
¥430.00
TMM-R52-BM转速表500-14000转/分背光指针不锈钢可接发电机测速
¥470.00
TMM-R80-BH船用柴油机转速表金属外壳防水抗震背光指针80~90开孔
©
Tue 2025-1-21
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0