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

$

Reply via email to