Skip to content

Commit 48d644c

Browse files
KanclerzPiotrigcbot
authored andcommitted
Downgrade implicit-int error to warning
LLVM15 changed default behavior for implicit int. Instead of failing compilation it will now generate warning to prevent crashes with updated drivers
1 parent 3de89f6 commit 48d644c

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
@@ -1564,6 +1564,9 @@ namespace TC
15641564
optionsEx += " -U__IMAGE_SUPPORT__";
15651565
}
15661566

1567+
// TODO: Workaround - remove after some time to be consistent with LLVM15+ behavior
1568+
optionsEx += " -Wno-error=implicit-int";
1569+
15671570
IOCLFEBinaryResult *pResultPtr = NULL;
15681571
int res = 0;
15691572
{

0 commit comments

Comments
 (0)