Created attachment 195020 [details] Patch to fix build errors Trying to compile devel/mingw32-gcc with clang-6 produces many errors of the form .././..//gcc-4.8.1/gcc/config/i386/mingw32.h:140:5: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] "SHARED_LIBGCC_SPEC" \ The attached patch fixes all these errors.
Actually, the patches: files/patch-gcc_config_alpha_alpha.c files/patch-gcc_hwint.h shouldn't be included, as they have spurious spaces in them. Although it doesn't matter if they are included, because they are merely reporting of compile time errors.
Patches are acceptable to me.
I'll take it.
A commit references this bug: Author: stephen Date: Tue Jul 10 21:13:55 UTC 2018 New revision: 474414 URL: https://svnweb.freebsd.org/changeset/ports/474414 Log: - Patches so that it builds with clang-6. PR: ports/229662 Submitted by: stephen@FreeBSD.org Changes: head/devel/mingw32-gcc/files/patch-gcc_bitmap.c head/devel/mingw32-gcc/files/patch-gcc_cgraph.c head/devel/mingw32-gcc/files/patch-gcc_combine.c head/devel/mingw32-gcc/files/patch-gcc_config_alpha_vms.h head/devel/mingw32-gcc/files/patch-gcc_config_darwin.c head/devel/mingw32-gcc/files/patch-gcc_config_darwin.h head/devel/mingw32-gcc/files/patch-gcc_config_darwin9.h head/devel/mingw32-gcc/files/patch-gcc_config_elfos.h head/devel/mingw32-gcc/files/patch-gcc_config_i386_bsd.h head/devel/mingw32-gcc/files/patch-gcc_config_i386_mingw32.h head/devel/mingw32-gcc/files/patch-gcc_config_ia64_ia64.c head/devel/mingw32-gcc/files/patch-gcc_config_lm32_lm32.h head/devel/mingw32-gcc/files/patch-gcc_config_microblaze_microblaze.h head/devel/mingw32-gcc/files/patch-gcc_config_mips_mips.h head/devel/mingw32-gcc/files/patch-gcc_config_pa_pa.c head/devel/mingw32-gcc/files/patch-gcc_config_pa_pa.h head/devel/mingw32-gcc/files/patch-gcc_config_picochip_picochip.c head/devel/mingw32-gcc/files/patch-gcc_config_picochip_picochip.h head/devel/mingw32-gcc/files/patch-gcc_config_rs6000_rs6000.c head/devel/mingw32-gcc/files/patch-gcc_config_rs6000_sysv4.h head/devel/mingw32-gcc/files/patch-gcc_config_rs6000_xcoff.h head/devel/mingw32-gcc/files/patch-gcc_config_rx_rx.h head/devel/mingw32-gcc/files/patch-gcc_config_s390_s390.h head/devel/mingw32-gcc/files/patch-gcc_config_score_score.h head/devel/mingw32-gcc/files/patch-gcc_config_sol2.h head/devel/mingw32-gcc/files/patch-gcc_config_sparc_sparc.h head/devel/mingw32-gcc/files/patch-gcc_cppbuiltin.c head/devel/mingw32-gcc/files/patch-gcc_defaults.h head/devel/mingw32-gcc/files/patch-gcc_dwarf2cfi.c head/devel/mingw32-gcc/files/patch-gcc_dwarf2out.c head/devel/mingw32-gcc/files/patch-gcc_gcc.c head/devel/mingw32-gcc/files/patch-gcc_gengenrtl.c head/devel/mingw32-gcc/files/patch-gcc_genmodes.c head/devel/mingw32-gcc/files/patch-gcc_ipa-inline.c head/devel/mingw32-gcc/files/patch-gcc_ipa-prop.c head/devel/mingw32-gcc/files/patch-gcc_loop-iv.c head/devel/mingw32-gcc/files/patch-gcc_profile.c head/devel/mingw32-gcc/files/patch-gcc_stor-layout.c head/devel/mingw32-gcc/files/patch-gcc_toplev.c head/devel/mingw32-gcc/files/patch-gcc_tree-ssa-alias.c head/devel/mingw32-gcc/files/patch-gcc_tree-ssa-reassoc.c head/devel/mingw32-gcc/files/patch-gcc_tree-ssa-structalias.c head/devel/mingw32-gcc/files/patch-gcc_value-prof.c
Committed.