clang 15.0.4 windres error

28 views
Skip to first unread message

John Marriott

unread,
Nov 11, 2022, 3:10:14 PM11/11/22
to vim...@googlegroups.com
Hi All,

When compiling with clang x64 15.0.4 (from msys2) on Win8.1 x64, I get this error from windres:
</snip>
windres  -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603 -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -DMS_WIN64 -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD \
    --input-format=rc --output-format=coff -i vim.rc -o gobjx86-64/vimres.o
windres: preprocessing failed.
make: *** [Make_cyg_ming.mak:1222: gobjx86-64/vimres.o] Error 1
</snip>

The attached patch is probably not the best fix but it corrects it for me.

Cheers
John
Make_cyg_ming.mak.9.0.859.patch

Bram Moolenaar

unread,
Nov 11, 2022, 4:25:20 PM11/11/22
to vim...@googlegroups.com, John Marriott
Thanks, I'll include it.

--
Don't believe everything you hear or anything you say.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages