Revert "Attempt to fix the compile of cmake on Sun CC."

This reverts commit a573a85658.

The workaround is not needed on supported SolarisStudio compilers.
This commit is contained in:
Stephen Kelly 2015-01-01 13:41:48 +01:00
parent 1ee4721f7c
commit 0550b9e330
1 changed files with 1 additions and 4 deletions

View File

@ -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;