This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/12116] AIX 6.1 declares getthrds() in <procinfo.h>
- From: "bruno at clisp dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 13 Mar 2011 13:11:56 +0000
- Subject: [Bug build/12116] AIX 6.1 declares getthrds() in <procinfo.h>
- Auto-submitted: auto-generated
- References: <bug-12116-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12116
Bruno Haible <bruno at clisp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bruno at clisp dot org
Version|7.0 |7.2
--- Comment #1 from Bruno Haible <bruno at clisp dot org> 2011-03-13 13:11:50 UTC ---
Still present in gdb 7.2:
On AIX 6.1:
gcc -D_ALL_SOURCE -g -O2 -I. -I. -I./common -I./config
-DLOCALEDIR="\"/home/haible/prefix-aix61/share/locale\"" -DHAVE_CONFIG_H
-I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd
-I./../include -I../libdecnumber -I./../libdecnumber -I./../intl -I./gnulib
-Ignulib -DMI_OUT=1 -DTUI=1 -Wall -D_ALL_SOURCE -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts -c -o aix-thread.o -MT aix-thread.o -MMD -MP -MF
.deps/aix-thread.Tpo aix-thread.c
aix-thread.c: In function 'get_signaled_thread':
aix-thread.c:652: error: conflicting types for 'getthrds'
/usr/include/procinfo.h:908: error: previous declaration of 'getthrds' was here
gmake[2]: *** [aix-thread.o] Error 1
And on AIX 7.1:
gcc -D_ALL_SOURCE -g -O2 -I. -I. -I./common -I./config
-DLOCALEDIR="\"/home/haible/prefix-aix71/share/locale\"" -DHAVE_CONFIG_H
-I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd
-I./../include -I../libdecnumber -I./../libdecnumber -I./../intl -I./gnulib
-Ignulib -DMI_OUT=1 -DTUI=1 -Wall -D_ALL_SOURCE -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts -c -o aix-thread.o -MT aix-thread.o -MMD -MP -MF
.deps/aix-thread.Tpo aix-thread.c
aix-thread.c: In function 'get_signaled_thread':
aix-thread.c:652: error: conflicting types for 'getthrds'
/usr/include/procinfo.h:1025: error: previous declaration of 'getthrds' was
here
gmake[2]: *** [aix-thread.o] Error 1
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.