This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
build/2531: remote.c:2859: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'pid_t'
- From: org dot sourceware dot gdb at pooryorick dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 28 Sep 2008 15:44:07 -0000
- Subject: build/2531: remote.c:2859: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'pid_t'
- Reply-to: org dot sourceware dot gdb at pooryorick dot com
>Number: 2531
>Category: build
>Synopsis: remote.c:2859: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'pid_t'
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Sep 28 15:48:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: org.sourceware.gdb@pooryorick.com
>Release: unknown-1.0
>Organization:
>Environment:
SunOS noname 5.9 Generic_122300-15 sun4u sparc SUNW,Sun-Fire-15000
gcc-4.2.2 with gnu ld-2.18
>Description:
gcc -m32 -c -g -O2 -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/grid/gro/vol/gbl_statcomp_test/sparc-32-solaris/gdb-6.8/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber -I.././gdb/../libdecnumber -DMI_OUT=1 -DTUI=1 -I/path/to/include -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror remote.c
cc1: warnings being treated as errors
remote.c: In function 'extended_remote_attach_1':
remote.c:2859: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'pid_t'
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: