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
掌柜推荐
¥738.00
D2H-1D-29双向齿轮转速传感器正反转6线差分推挽输出电缆引出
¥840.00
双福SRE-AD0H转速脉冲频率电流电压模拟量变送器模块4~20mA带显示
¥288.00
双福N1H-6C-70齿轮转速传感器发电机测速免磁铁全螺纹M14*1长70
¥288.00
N1H-4C-70齿轮转速传感器霍尔发动机柴油机测速M16*1长70有源脉冲
¥2,600.00
TMM-R100-WH指针式转速表1200转(定制款)
¥410.00
VMM-R52-B直流电压表DC7~25V指针式带背光可定制电压范围
©
Mon 2025-1-13
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0