From 6de688676dafa0b32de6d5baedda436fd46b9b46 Mon Sep 17 00:00:00 2001 From: px4dev Date: Thu, 10 Jan 2013 18:53:26 -0800 Subject: [PATCH] Suppress annoying C++ ABI portability warnings This suppresses an otherwise not useful warning when mixing C++ and va_list --- nuttx/configs/px4fmu/common/Make.defs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nuttx/configs/px4fmu/common/Make.defs b/nuttx/configs/px4fmu/common/Make.defs index 75df4c4c9c..3d2df6314a 100644 --- a/nuttx/configs/px4fmu/common/Make.defs +++ b/nuttx/configs/px4fmu/common/Make.defs @@ -143,7 +143,8 @@ ARCHCWARNINGS = $(ARCHWARNINGS) \ -Wmissing-prototypes \ -Wnested-externs \ -Wunsuffixed-float-constants -ARCHWARNINGSXX = $(ARCHWARNINGS) +ARCHWARNINGSXX = $(ARCHWARNINGS) \ + -Wno-psabi ARCHDEFINES = ARCHPICFLAGS = -fpic -msingle-pic-base -mpic-register=r10