STYLE: suppress warnings for borland

This commit is contained in:
Bill Hoffman 2009-06-09 15:18:51 -04:00
parent 0dc49a840e
commit b81f09e341
3 changed files with 11 additions and 2 deletions

View File

@ -34,7 +34,9 @@
#endif
#ifdef __BORLANDC__
#pragma warn -8030 /* Temporary used for parameter */
# pragma warn -8030 /* Temporary used for parameter */
# pragma warn -8027 /* 'for' not inlined. */
# pragma warn -8026 /* 'exception' not inlined. */
#endif
#ifdef __ICL

View File

@ -36,6 +36,10 @@
* purpose. It is provided "as is" without express or implied warranty.
*
*/
#ifdef __BORLANDC__
# pragma warn -8027 /* 'for' not inlined. */
# pragma warn -8026 /* 'exception' not inlined. */
#endif
#ifndef @KWSYS_NAMESPACE@_hashtable_hxx
#define @KWSYS_NAMESPACE@_hashtable_hxx

View File

@ -13,7 +13,10 @@
=========================================================================*/
#include "kwsysPrivate.h"
#include KWSYS_HEADER(auto_ptr.hxx)
#ifdef __BORLANDC__
# pragma warn -8027 /* 'for' not inlined. */
# pragma warn -8026 /* exception not inlined. */
#endif
// Work-around CMake dependency scanning limitation. This must
// duplicate the above list of headers.
#if 0