diff options
author | Brad King <brad.king@kitware.com> | 2009-09-03 15:10:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-09-03 15:10:06 (GMT) |
commit | cd147f0f71e1f426351d4705537deff0b89c215b (patch) | |
tree | 2a06b54a59cd790bb5bf177f7ddd9c2782a9c839 /Source/kwsys/RegularExpression.hxx.in | |
parent | 659171d1f72e24c2cdda6a935f29f528cc518969 (diff) | |
download | CMake-cd147f0f71e1f426351d4705537deff0b89c215b.zip CMake-cd147f0f71e1f426351d4705537deff0b89c215b.tar.gz CMake-cd147f0f71e1f426351d4705537deff0b89c215b.tar.bz2 |
COMP: Silence useless Borland inlining warning
KWSys tries not to force anything on source files that include its
headers, but Borland warning 8027 leaves us no choice when we want to
have inline function definitions. This commit disables the warning for
the RegularExpression header and any file that includes it.
Diffstat (limited to 'Source/kwsys/RegularExpression.hxx.in')
-rw-r--r-- | Source/kwsys/RegularExpression.hxx.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/kwsys/RegularExpression.hxx.in b/Source/kwsys/RegularExpression.hxx.in index 05b0f5c..f2879d2 100644 --- a/Source/kwsys/RegularExpression.hxx.in +++ b/Source/kwsys/RegularExpression.hxx.in @@ -42,6 +42,12 @@ # define kwsys_stl @KWSYS_NAMESPACE@_stl #endif +/* Disable useless Borland warnings. KWSys tries not to force things + on its includers, but there is no choice here. */ +#if defined(__BORLANDC__) +# pragma warn -8027 /* function not inlined. */ +#endif + namespace @KWSYS_NAMESPACE@ { |