Re: clang 15.0.4 windres error
John Marriott wrote: > When compiling with clang x64 15.0.4 (from msys2) on Win8.1 x64, I get > this error from windres: > > 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 > > > The attached patch is probably not the best fix but it corrects it for me. Thanks, I'll include it. -- Don't believe everything you hear or anything you say. /// Bram Moolenaar -- b...@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/// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/2022212510.66A541C120E%40moolenaar.net.
clang 15.0.4 windres error
Hi All, When compiling with clang x64 15.0.4 (from msys2) on Win8.1 x64, I get this error from windres: 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 The attached patch is probably not the best fix but it corrects it for me. Cheers John -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/e6116376-98c8-b211-192f-2a416399a499%40internode.on.net. --- Make_cyg_ming.mak.orig 2022-10-15 06:24:24.0 +1100 +++ Make_cyg_ming.mak 2022-11-12 06:48:03.371617100 +1100 @@ -227,7 +227,11 @@ ifeq ($(UNDER_CYGWIN),yes) WINDRES := $(CROSS_COMPILE)windres else +ifeq ($(findstring clang,$(CC)),) WINDRES := windres +else +WINDRES := llvm-windres +endif endif # Get the default ARCH.