Pass 2 at building on linux: remove compile errors from the preprocessor.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@20539 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
54d8cda95e
commit
3e1fcf34c5
9 changed files with 33 additions and 31 deletions
|
|
@ -643,11 +643,11 @@ void CPPShInfoLogMsg(const char *msg)
|
|||
GlobalParseContext->recover();
|
||||
}
|
||||
|
||||
void CPPErrorToInfoLog(char *msg)
|
||||
void CPPErrorToInfoLog(const char *msg)
|
||||
{
|
||||
TParseContext& pc = *((TParseContext *)cpp->pC);
|
||||
|
||||
pc.error(yylineno, "CPP error:", "",msg,"");
|
||||
pc.error(yylineno, "CPP error:", "", msg, "");
|
||||
GlobalParseContext->recover();
|
||||
}
|
||||
|
||||
|
|
@ -770,7 +770,7 @@ void HandlePragma(const char **tokens, int numTokens)
|
|||
}
|
||||
}
|
||||
|
||||
void StoreStr(char *string)
|
||||
void StoreStr(const char *string)
|
||||
{
|
||||
TParseContext& pc = *((TParseContext *)cpp->pC);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue