The warning is printed when running tests, making dejagnu mark them as
failed when running 32-bit tests on x86_64.

Forwarded upstream: https://github.com/libffi/libffi/pull/940

libffi/ChangeLog:
        PR libffi/117635
        * src/x86/ffitarget.h (if defined (X86_64) &&
        defined (__i386__)): Remove #warning.

Signed-off-by: Pietro Monteiro <[email protected]>
---
 libffi/src/x86/ffitarget.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libffi/src/x86/ffitarget.h b/libffi/src/x86/ffitarget.h
index 5a3399d8098..2ea25d21653 100644
--- a/libffi/src/x86/ffitarget.h
+++ b/libffi/src/x86/ffitarget.h
@@ -41,9 +41,6 @@
 
 #if defined (X86_64) && defined (__i386__)
 #undef X86_64
-#warning ******************************************************
-#warning ********** X86 IS DEFINED ****************************
-#warning ******************************************************
 #define X86
 #endif
 
-- 
2.43.0

Reply via email to