From 47a20cd6d1066333069538849f25dad7be540df8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 20 Jul 2016 18:27:21 +0200 Subject: [PATCH] M68K: turn #warnings into comments in public headers The warnings made those headers and those including them not detectable by libiberty's configure because of the way it checked for them. This fixes the gcc build. --- headers/posix/arch/m68k/arch_setjmp.h | 2 +- headers/posix/arch/m68k/signal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/posix/arch/m68k/arch_setjmp.h b/headers/posix/arch/m68k/arch_setjmp.h index 4aa8146a7f..cb5483a0cb 100644 --- a/headers/posix/arch/m68k/arch_setjmp.h +++ b/headers/posix/arch/m68k/arch_setjmp.h @@ -8,6 +8,6 @@ #define _SETJMP_BUF_SZ (7+6+2+8*((96/8)/4)) typedef int __jmp_buf[_SETJMP_BUF_SZ]; -#warning M68K: fix jmpbuf size +/* TODO: #warning M68K: fix jmpbuf size */ #endif /* _ARCH_SETJMP_H_ */ diff --git a/headers/posix/arch/m68k/signal.h b/headers/posix/arch/m68k/signal.h index 6623e7a09d..078f610a02 100644 --- a/headers/posix/arch/m68k/signal.h +++ b/headers/posix/arch/m68k/signal.h @@ -17,7 +17,7 @@ struct vregs d0, d1, d2, d3, d4, d5, d6, d7, a0, a1, a2, a3, a4, a5, a6, a7; unchar ccr; -#warning M68K: fix floats in vregs, add missing stuff. +/* TODO: #warning M68K: fix floats in vregs, add missing stuff. */ double f0, /* fp scratch */ f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f13; /* fp volatile regs */ };