From d3679610c6b60ff442a3f467b47005ea7c3996c1 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 22 Jun 2009 14:19:22 -0400 Subject: [PATCH] COMP: Quiet aggressive Borland warnings in KWSys This disables Borland warning 8027 while compiling KWSys source files. It provides no useful information. --- Source/kwsys/Configure.h.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Source/kwsys/Configure.h.in b/Source/kwsys/Configure.h.in index 85e4cdbe53..8ab4de893e 100644 --- a/Source/kwsys/Configure.h.in +++ b/Source/kwsys/Configure.h.in @@ -22,6 +22,13 @@ # define kwsysEXPORT @KWSYS_NAMESPACE@_EXPORT #endif +/* Disable some warnings inside kwsys source files. */ +#if defined(KWSYS_NAMESPACE) +# if defined(__BORLANDC__) +# pragma warn -8027 /* function not inlined. */ +# endif +#endif + /* Whether kwsys namespace is "kwsys". */ #define @KWSYS_NAMESPACE@_NAME_IS_KWSYS @KWSYS_NAME_IS_KWSYS@