summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionEvaluator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-01 12:41:48 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-02-17 18:18:12 (GMT)
commit0550b9e330d75dfcb02257c998706759574cd9c0 (patch)
treef24ba422792d44cb69398df939d3f143bf324ce1 /Source/cmGeneratorExpressionEvaluator.cxx
parent1ee4721f7c7d0d889e00c0a2cdb799e71a4b5574 (diff)
downloadCMake-0550b9e330d75dfcb02257c998706759574cd9c0.zip
CMake-0550b9e330d75dfcb02257c998706759574cd9c0.tar.gz
CMake-0550b9e330d75dfcb02257c998706759574cd9c0.tar.bz2
Revert "Attempt to fix the compile of cmake on Sun CC."
This reverts commit a573a856581118d7a9d8dd7be1f613ba7b1ddb04. The workaround is not needed on supported SolarisStudio compilers.
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluator.cxx')
-rw-r--r--Source/cmGeneratorExpressionEvaluator.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.cxx b/Source/cmGeneratorExpressionEvaluator.cxx
index 6692a92..ba18faa 100644
--- a/Source/cmGeneratorExpressionEvaluator.cxx
+++ b/Source/cmGeneratorExpressionEvaluator.cxx
@@ -24,10 +24,7 @@
#include <errno.h>
//----------------------------------------------------------------------------
-#if !defined(__SUNPRO_CC) || __SUNPRO_CC > 0x510
-static
-#endif
-void reportError(cmGeneratorExpressionContext *context,
+static void reportError(cmGeneratorExpressionContext *context,
const std::string &expr, const std::string &result)
{
context->HadError = true;