[Bug testsuite/24807] gdb.objc FAILs
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Wed Jul 24 17:02:00 GMT 2019
https://sourceware.org/bugzilla/show_bug.cgi?id=24807
--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b3b965fb91e1671da5b7d42349fa0d78e80c29f4
commit b3b965fb91e1671da5b7d42349fa0d78e80c29f4
Author: Tom de Vries <tdevries@suse.de>
Date: Wed Jul 24 19:01:59 2019 +0200
[gdb/testsuite] Fix implicit declaration of printf in gdb.objc/*.m
When running gdb.objc/objcdecode.exp we get:
...
objcdecode.m: In function '-[Decode multipleDef]':
objcdecode.m:14:3: warning: incompatible implicit declaration of built-in \
function 'printf'
printf("method multipleDef\n");
^~~~~~
objcdecode.m:14:3: note: include '<stdio.h>' or provide a declaration of \
'printf'
...
Fix this in the three gdb.objc/*.m test-cases by including stdio.h.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2019-07-24 Tom de Vries <tdevries@suse.de>
PR testsuite/24807
* gdb.objc/basicclass.m: Include stdio.h.
* gdb.objc/nondebug.m: Same.
* gdb.objc/objcdecode.m: Same.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list