libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] [PATCH 36/57] ppc32: include `compiler.h' for UNUS


From: Tommi Rantala
Subject: Re: [Libunwind-devel] [PATCH 36/57] ppc32: include `compiler.h' for UNUSED in ucontext_i.h
Date: Fri, 28 Sep 2012 15:24:16 +0300

2012/9/21 Tommi Rantala <address@hidden>:
> In file included from src/ppc32/Ginit.c:31,
>                  from src/ppc32/Linit.c:4:
> src/ppc32/ucontext_i.h:46: error: expected '=', ',', ';', 'asm' or 
> '__attribute__' before 'UNUSED'
> ---
>  src/ppc32/ucontext_i.h |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/ppc32/ucontext_i.h b/src/ppc32/ucontext_i.h
> index 0fd60d9..11e4a57 100644
> --- a/src/ppc32/ucontext_i.h
> +++ b/src/ppc32/ucontext_i.h
> @@ -26,6 +26,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
> SOFTWARE.  */
>  #ifndef ucontext_i_h
>  #define ucontext_i_h
>
> +#include "compiler.h"
>  #include <ucontext.h>

I have replaced this patch with a different one in the for-upstream
github branch:

commit e2d5cdd22da48a5bbf772090b55590ef70b63999
Author: Tommi Rantala <address@hidden>
Date:   Tue Sep 18 13:42:04 2012 +0300

    ppc32: include `compiler.h' for UNUSED in ucontext_i.h

diff --git a/src/ppc32/ucontext_i.h b/src/ppc32/ucontext_i.h
index 5a7c01d..11e4a57 100644
--- a/src/ppc32/ucontext_i.h
+++ b/src/ppc32/ucontext_i.h
@@ -26,7 +26,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.  */
 #ifndef ucontext_i_h
 #define ucontext_i_h

-#include "libunwind_i.h"
+#include "compiler.h"
 #include <ucontext.h>

 /* These values were derived by reading



reply via email to

[Prev in Thread] Current Thread [Next in Thread]