[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9
howarth at nitro dot med.uc.edu
gcc-bugzilla@gcc.gnu.org
Thu Oct 25 19:38:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #20 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-10-25 19:38:07 UTC ---
This testcase should work for powerpc-apple-darwin9...
----------------------------------------------------
#include "unwind.h"
int
main()
{
struct _Unwind_Context *context;
int ip_before_insn = 0;
return _Unwind_GetIPInfo (context, &ip_before_insn);
}
----------------------------------------------------
It produces...
$ gcc -Werror-implicit-function-declaration -c test.c
test.c: In function 'main':
test.c:9: error: implicit declaration of function '_Unwind_GetIPInfo'
and
$ gcc-4.2 -Werror-implicit-function-declaration -c test.c
$
More information about the Gcc-bugs
mailing list