This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9


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
$


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]