https://bugs.winehq.org/show_bug.cgi?id=55313
Bug ID: 55313 Summary: tools/wmc/mcy.y:488:30: runtime error: left shift of 2 by 30 places cannot be represented in type 'int' (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@winehq.org Reporter: austinenglish@gmail.com Distribution: Debian
For this issue, just recompiling tools/wmc is enough to see the issue: ./configure && make -j12 cd tools/widl make clean make CFLAGS="-fsanitize=undefined" LDFLAGS="-fsanitize=undefined"
tools/wmc/wmc -u -o dlls/kernelbase/winerror.res dlls/kernelbase/winerror.mc --po-dir=po tools/wmc/mcy.y:488:30: runtime error: left shift of 2 by 30 places cannot be represented in type 'int'
tools/wmc/wmc -u -o dlls/mferror/mferror.res dlls/mferror/mferror.mc --po-dir=po tools/wmc/mcy.y:488:30: runtime error: left shift of 3 by 30 places cannot be represented in type 'int'