summaryrefslogtreecommitdiffstats
path: root/Source/cmExprParser.y
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-08-06 13:20:24 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-10-15 21:16:44 (GMT)
commit2db55ffa56a69c4b55410afb9b40ab20f4025837 (patch)
tree78a498981c6d77fa0b148db021ca628b2d44a57b /Source/cmExprParser.y
parenta7596fef6e8d6938ce0d7fcba47e896f288b12b4 (diff)
downloadCMake-2db55ffa56a69c4b55410afb9b40ab20f4025837.zip
CMake-2db55ffa56a69c4b55410afb9b40ab20f4025837.tar.gz
CMake-2db55ffa56a69c4b55410afb9b40ab20f4025837.tar.bz2
Remove borland workarounds.
CMake 3.0 is the last release to require to be able to build with Borland.
Diffstat (limited to 'Source/cmExprParser.y')
-rw-r--r--Source/cmExprParser.y6
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/cmExprParser.y b/Source/cmExprParser.y
index 12c2e48..f2c85d0 100644
--- a/Source/cmExprParser.y
+++ b/Source/cmExprParser.y
@@ -52,12 +52,6 @@ static void cmExprError(yyscan_t yyscanner, const char* message);
/* Disable some warnings in the generated code. */
-#ifdef __BORLANDC__
-# pragma warn -8004 /* Variable assigned a value that is not used. */
-# pragma warn -8008 /* condition always returns true */
-# pragma warn -8060 /* possibly incorrect assignment */
-# pragma warn -8066 /* unreachable code */
-#endif
#ifdef _MSC_VER
# pragma warning (disable: 4102) /* Unused goto label. */
# pragma warning (disable: 4065) /* Switch statement contains default but no case. */