1 |
SO -thats- what it is. |
2 |
Agh, this bug appears in ncurses snapshot as of recently, it wasn't |
3 |
there in the main 5.2 release of ncurses. someone feel like fixing this? |
4 |
|
5 |
//Spider |
6 |
|
7 |
begin quote |
8 |
On Sun, 7 Apr 2002 03:31:01 -0400 |
9 |
Paul <set@×××××.com> wrote: |
10 |
|
11 |
> Dave Lee <davel@××××××.com>, on Sat Apr 06, 2002 [04:08:34 PM] said: |
12 |
> > |
13 |
> > gdb fails with the same error for me. Here is what make spits out |
14 |
> > |
15 |
> > gcc -c -march=i686 -O3 -pipe -I. -I. -I./config -DHAVE_CONFIG_H |
16 |
> > -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd |
17 |
> > -I./../include -I../intl -I./../intl -DMI_OUT=1 -DUI_OUT=1 |
18 |
> > -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat |
19 |
> > -Wparentheses -Wpointer-arith -Wuninitialized utils.c In file |
20 |
> > included from /usr/include/curses.h:111, from |
21 |
> > utils.c:30:/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdboo |
22 |
> > l.h:9: conflicting types for `false' |
23 |
> > ../bfd/bfd.h:102: previous declaration of `false' |
24 |
> > /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdbool.h:11: |
25 |
> > conflicting types for `true' |
26 |
> > ../bfd/bfd.h:102: previous declaration of `true' |
27 |
> |
28 |
> Hi; |
29 |
> |
30 |
> In /usr/include/curses.h, we see this mess: |
31 |
> |
32 |
> #if (!defined(__cplusplus) || !1) && (!0) |
33 |
> |
34 |
> #if 1 <----change me |
35 |
> #include <stdbool.h> |
36 |
> #endif |
37 |
> |
38 |
> #undef bool |
39 |
> |
40 |
> #if 1 |
41 |
> #define bool NCURSES_BOOL |
42 |
> #else |
43 |
> typedef unsigned char bool; |
44 |
> #endif |
45 |
> |
46 |
> #endif /* !__cplusplus, etc. */ |
47 |
> |
48 |
> |
49 |
> Change the '#if 1' at line 110 to '#if 0', and you can |
50 |
> merge gdb. I dont know what the right fix is; in gdb, bfd/bfd.h |
51 |
> has an enum that conflicts with the enum in stdbool.h (defining |
52 |
> 'true' and 'false') |
53 |
> Either curses.h needs to be smarter, or bfd-in.h needs |
54 |
> tuning.... ???? |
55 |
> |
56 |
> Paul |
57 |
> set@×××××.com |
58 |
> |
59 |
> ps. if you change this to get gdb to merge, change it back, as I |
60 |
> have no idea how it would affect other things that want to use |
61 |
> curses... |
62 |
> _______________________________________________ |
63 |
> gentoo-dev mailing list |
64 |
> gentoo-dev@g.o |
65 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
66 |
|
67 |
|
68 |
-- |
69 |
begin happy99.exe |
70 |
This is a .signature virus! Please copy me into your .signature! |
71 |
See Microsoft KB Article Q265230 for more information. |
72 |
end |