Skip to content

Commit 554cabd

Browse files
sys-igcigcbot
authored andcommitted
[Autobackout][FunctionalRegression]Revert of change: b224b29: Remove workaround -Wno-error=implicit-int
Previously, some workloads used implicit int types in function definitions. With LLVM 15, implicit ints are treated as errors. The workaround to disable this error has now been removed, so IGC enforces the same behavior as LLVM 15 and treats implicit ints as errors.
1 parent 0957302 commit 554cabd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

IGC/OCLFE/igd_fcl_mcl/source/clang_tb.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,9 @@ bool CClangTranslationBlock::TranslateClang(const TranslateClangArgs *pInputArgs
13531353
optionsEx += " -U__IMAGE_SUPPORT__";
13541354
}
13551355

1356+
// TODO: Workaround - remove after some time to be consistent with LLVM15+ behavior
1357+
optionsEx += " -Wno-error=implicit-int";
1358+
13561359
IOCLFEBinaryResult *pResultPtr = NULL;
13571360
int res = 0;
13581361
{

0 commit comments

Comments
 (0)