Fix ODR violations
On a shared build, these symbols exist in both libglslang.so and libSPIRV.so, leading to an ODR violation at runtime.
This commit is contained in:
parent
f1cb8608b3
commit
adfcaba7ae
6 changed files with 15 additions and 21 deletions
|
|
@ -38,6 +38,7 @@
|
|||
//
|
||||
|
||||
#include "ParseHelper.h"
|
||||
#include "Initialize.h"
|
||||
#include "Scan.h"
|
||||
|
||||
#include "../OSDependent/osinclude.h"
|
||||
|
|
@ -2685,7 +2686,6 @@ void TParseContext::builtInOpCheck(const TSourceLoc& loc, const TFunction& fnCan
|
|||
}
|
||||
}
|
||||
|
||||
extern bool PureOperatorBuiltins;
|
||||
|
||||
// Deprecated! Use PureOperatorBuiltins == true instead, in which case this
|
||||
// functionality is handled in builtInOpCheck() instead of here.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue