Fix unused function warnings for conditionally used functions

Change-Id: Ied23c571b949abef1816914986f19b14aca3d2f3
Bu işleme şunda yer alıyor:
Matt Arsenault authored and Matthew Arsenault committed 2020-07-06 10:28:43 -04:00
1 ebeveyn 7124974148
işleme c56a82fd05
4 files changed
+30 -16

No files matched your search

+3
Dosyayı Görüntüle
@@ -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,