Merge topic 'suncc-compile-fix'

a573a85 Attempt to fix the compile of cmake on Sun CC.
This commit is contained in:
David Cole 2012-10-17 16:43:36 -04:00 committed by CMake Topic Stage
commit a58cd0d7a4
1 changed files with 4 additions and 1 deletions

View File

@ -17,7 +17,10 @@
#include "cmGeneratorExpression.h"
//----------------------------------------------------------------------------
static void reportError(cmGeneratorExpressionContext *context,
#if !defined(__SUNPRO_CC) || __SUNPRO_CC > 0x510
static
#endif
void reportError(cmGeneratorExpressionContext *context,
const std::string &expr, const std::string &result)
{
context->HadError = true;