Attempt to fix the compile of cmake on Sun CC.
The problem may be that the reportError method is static, so make it non-static on that platform.
This commit is contained in:
parent
2876cb39d7
commit
a573a85658
@ -17,7 +17,10 @@
|
|||||||
#include "cmGeneratorExpression.h"
|
#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)
|
const std::string &expr, const std::string &result)
|
||||||
{
|
{
|
||||||
context->HadError = true;
|
context->HadError = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user