[Top][All Lists]
[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
- [Libunwind-devel] [PATCH 25/57] Remove unneeded `config.h' inclusion in Gtest-nomalloc, (continued)
- [Libunwind-devel] [PATCH 25/57] Remove unneeded `config.h' inclusion in Gtest-nomalloc, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 23/57] Drop `optimize' attribute in tests/test-varargs.c, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 30/57] Call snprintf() from signal handler only if required in test-async-sig, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 32/57] Stop including `memory.h', Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 31/57] Nuke HAVE_BACKTRACE, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 34/57] Enable coredump library build on ARM by default, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 33/57] MIPS coredump support, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 36/57] ppc32: include `compiler.h' for UNUSED in ucontext_i.h, Tommi Rantala, 2012/09/21
- Re: [Libunwind-devel] [PATCH 36/57] ppc32: include `compiler.h' for UNUSED in ucontext_i.h,
Tommi Rantala <=
- [Libunwind-devel] [PATCH 40/57] Constify `dwarf_to_unw_regnum_map', Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 37/57] ppc32: `UNW_PPC32_REGS' fixlet, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 38/57] IA64: give prototype for `ia64_find_unwind_table()', Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 39/57] Set `_UPT_reg_offset' read only, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 41/57] Constify `operands' in src/dwarf/Gexpr.c, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 54/57] Replace empty argument lists with `void' in tests, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 51/57] Fix second operand read in dwarf_eval_expr(), Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 50/57] Teach autotools current ARM `ex_tables.h' location, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 48/57] Use `UNUSED' in tests, Tommi Rantala, 2012/09/21