Fix unused function warnings for conditionally used functions
Change-Id: Ied23c571b949abef1816914986f19b14aca3d2f3
Cette révision appartient à :
révisé par
Matthew Arsenault
Parent
7124974148
révision
c56a82fd05
@@ -727,9 +727,12 @@ bool Program::compileImplLC(const std::string& sourceCode,
|
||||
|
||||
|
||||
// ================================================================================================
|
||||
|
||||
#if defined(WITH_COMPILER_LIB)
|
||||
static void logFunction(const char* msg, size_t size) {
|
||||
std::cout << "Compiler Log: " << msg << std::endl;
|
||||
}
|
||||
#endif
|
||||
|
||||
// ================================================================================================
|
||||
bool Program::compileImplHSAIL(const std::string& sourceCode,
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur