grub/util
Andrey Borzenkov 5ae584c0b0 fix Mingw W64-32 cross compile failure due to printf redefinition in libintl.h
In file included from util/misc.c:36:0:
./include/grub/emu/misc.h:56:1: error: 'libintl_printf' is an unrecognized format function type [-Werror=format=]
 char * EXPORT_FUNC(xasprintf) (const char *fmt, ...) __attribute__ ((format (printf, 1, 2))) WARN_UNUSED_RESULT;
 ^
./include/grub/emu/misc.h:58:1: error: 'libintl_printf' is an unrecognized format function type [-Werror=format=]

The reason is libintl.h which redefines printf as libintl_printf. The problem
is not present in native MinGW build which avoids redefinition.  Use
(format (__printf__) instead which is valid replacement in GCC.

v2: add grub-core/lib/libgcrypt/src/g10lib.h
v3: modify g10lib.h during import
2014-01-25 21:49:41 +04:00
..
bash-completion.d Clean up dangling references to grub-setup. 2013-01-12 13:30:37 +00:00
grub.d Prefer more portable test(1) constructs 2014-01-17 15:29:43 +00:00
i386/efi Merge mainline into install 2010-09-15 14:46:53 +02:00
ieee1275 Move set_program_name and init_nls to host_init. On windows 2013-10-13 20:03:42 +02:00
bin2h.c Fix handling of build-time grub-bin2h and grub-mkfont when doing 2013-08-14 10:56:55 +02:00
config.c * util/config.c: Remove trailing newline from distributor in simple 2013-12-14 21:50:36 +01:00
editenv.c Add missing includes. 2013-12-21 13:47:27 +01:00
garbage-gen.c * util/garbage-gen.c: Add missing include of sys/time.h. 2013-11-23 12:42:30 +01:00
getroot.c Make grub_util_devmapper_part_to_disk and grub_util_find_partition_start 2013-12-24 14:16:57 +01:00
glue-efi.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
grub-editenv.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
grub-file.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
grub-fstest.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
grub-gen-asciih.c Fix build with FreeType 2.5.1 2013-11-29 12:19:36 +00:00
grub-gen-widthspec.c Fix build with FreeType 2.5.1 2013-11-29 12:19:36 +00:00
grub-glue-efi.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
grub-install-common.c * util/grub-install.c: List available targets. 2014-01-24 18:09:25 +01:00
grub-install.c * util/grub-install.c: List available targets. 2014-01-24 18:09:25 +01:00
grub-kbdcomp.in Apply program name transformations at build-time rather than at 2012-12-28 06:57:17 +00:00
grub-macbless.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
grub-macho2img.c * util/grub-macho2img.c: Use plain fopen rather than grub_util_fopen. 2013-11-11 22:48:43 +01:00
grub-menulst2cfg.c Add a wrapper for fopen. On unix-like systems just pass-through. On 2013-10-13 20:36:28 +02:00
grub-mkconfig.in Revert grub-file usage in grub-mkconfig. 2013-12-24 17:47:27 +01:00
grub-mkconfig_lib.in Implement grub_file tool and use it to implement generating of config 2013-12-17 14:39:48 +01:00
grub-mkfont.c Add gcc_struct to all packed structures when compiling with mingw. 2013-12-15 14:14:30 +01:00
grub-mkimage.c do not set default prefix in grub-mkimage 2014-01-25 19:54:51 +04:00
grub-mkimagexx.c Correct some translatable strings. 2013-12-21 03:03:31 +01:00
grub-mklayout.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
grub-mknetdir.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
grub-mkpasswd-pbkdf2.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
grub-mkrelpath.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
grub-mkrescue.c add part_apple to EFI rescue image to fix missing prefix 2014-01-12 15:29:21 +04:00
grub-mkstandalone.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
grub-mount.c * util/grub-mount.c: Extend GCC warning workaround to grub-mount. 2014-01-18 16:43:29 +01:00
grub-pe2elf.c Implement grub_file tool and use it to implement generating of config 2013-12-17 14:39:48 +01:00
grub-probe.c * util/grub-probe.c: Improve help message and simplify list handling. 2013-12-24 20:30:16 +01:00
grub-reboot.in * util/grub-reboot.in (usage): Fix a typo. 2013-11-15 14:32:03 +00:00
grub-render-label.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
grub-script-check.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
grub-set-default.in * util/grub-mkconfig.in: Replace $0 with $self. 2013-10-26 20:05:29 +02:00
grub-setup.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
grub-syslinux2cfg.c Fix several translatable strings. 2014-01-24 18:20:27 +01:00
import_gcry.py fix Mingw W64-32 cross compile failure due to printf redefinition in libintl.h 2014-01-25 21:49:41 +04:00
import_gcrypth.sed Import libgcrypt 1.5.3. 2013-11-07 06:35:50 +01:00
import_unicode.py * util/import_unicode.py: Add missing brackets around string for 2012-03-10 20:47:12 +01:00
misc.c * util/misc.c (grub_util_get_image_size): Check for overflow. 2013-12-21 14:28:14 +01:00
mkimage.c Decrease number of strings to translate. 2013-12-18 07:26:13 +01:00
probe.c Rewrite grub-install, grub-mkrescue, grub-mkstandalone and grub-mknetdir 2013-11-16 20:21:16 +01:00
render-label.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
resolve.c Add a wrapper for fopen. On unix-like systems just pass-through. On 2013-10-13 20:36:28 +02:00
setup.c Use %I64 and not %ll when using OS printf if compiling for windows. 2013-12-17 16:04:47 +01:00
setup_bios.c Split grub-setup.c into frontend (grub-setup.c) and backend (setup.c) 2013-10-15 16:16:04 +02:00
setup_sparc.c Split grub-setup.c into frontend (grub-setup.c) and backend (setup.c) 2013-10-15 16:16:04 +02:00
spkmodem-recv.c Improve spkmomdem reliability by adding a separator between bytes. 2013-01-21 14:55:30 +01:00