mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
COMP: Quiet aggressive Borland warnings in KWSys
This disables Borland warning 8027 while compiling KWSys source files. It provides no useful information.
This commit is contained 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@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user