https://bugs.winehq.org/show_bug.cgi?id=55311 Bug ID: 55311 Summary: tools/widl/write_msft.c:1512:33: runtime error: left shift of negative value -1 (UndefinedBehaviorSanitizer) Product: Wine Version: 8.13 Hardware: x86-64 OS: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: tools Assignee: wine-bugs(a)winehq.org Reporter: austinenglish(a)gmail.com Distribution: Debian For this issue, just recompiling tools/widl is enough to see the issue: ./configure && make -j12 cd tools/widl make clean make CFLAGS="-fsanitize=undefined" LDFLAGS="-fsanitize=undefined" tools/widl/widl -o dlls/dhtmled.ocx/i386-windows/dhtmled_tlb_t.res -b i686-w64-mingw32 --nostdinc -Ldlls/\* -Idlls/dhtmled.ocx -Iinclude \ -Iinclude/msvcrt -D_UCRT -D__WINESRC__ dlls/dhtmled.ocx/dhtmled_tlb.idl tools/widl/write_msft.c:1512:33: runtime error: left shift of negative value -1 There are a total of 5 occurrences: tools/widl/widl -o dlls/dhtmled.ocx/i386-windows/dhtmled_tlb_t.res -b i686-w64-mingw32 --nostdinc -Ldlls/\* -Idlls/dhtmled.ocx -Iinclude \ -Iinclude/msvcrt -D_UCRT -D__WINESRC__ dlls/dhtmled.ocx/dhtmled_tlb.idl tools/widl/widl -o dlls/mshtml.tlb/i386-windows/mshtml_tlb_t.res -b i686-w64-mingw32 --nostdinc -Ldlls/\* -Idlls/mshtml.tlb -Iinclude \ -Iinclude/msvcrt -D_UCRT -D__WINESRC__ dlls/mshtml.tlb/mshtml_tlb.idl tools/widl/widl -o dlls/msscript.ocx/i386-windows/msscript_t.res -b i686-w64-mingw32 --nostdinc -Ldlls/\* -Idlls/msscript.ocx -Iinclude \ -Iinclude/msvcrt -D_UCRT -D__WINESRC__ dlls/msscript.ocx/msscript.idl tools/widl/widl -o programs/cscript/i386-windows/ihost_l.res -b i686-w64-mingw32 --nostdinc -Ldlls/\* -Iprograms/cscript \ -Iprograms/wscript -Iinclude -Iinclude/msvcrt -D_UCRT -D__WINESRC__ -DCSCRIPT_BUILD \ programs/wscript/ihost.idl tools/widl/widl -o programs/wscript/i386-windows/ihost_l.res -b i686-w64-mingw32 --nostdinc -Ldlls/\* -Iprograms/wscript -Iinclude \ -Iinclude/msvcrt -D_UCRT -D__WINESRC__ programs/wscript/ihost.idl -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.