URL: <http://savannah.gnu.org/bugs/?41118>
Summary: No 'previous prototype error' for argp_usage, _option_is_short, _option_is_end Project: GNU GRUB Submitted by: greggles Submitted on: Mon 06 Jan 2014 08:18:08 GMT Category: Compilation Severity: Major Priority: 5 - Normal Item Group: Software Error Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: Release: Git master Reproducibility: Every Time Planned Release: None _______________________________________________________ Details: On SL6.4 (RHEL6 clone) the following error occurs during build of git master. ... cc1: warnings being treated as errors In file included from util/grub-mount.c:46: ./grub-core/gnulib/argp.h:614: error: no previous prototype for ‘argp_usage’ ./grub-core/gnulib/argp.h:620: error: no previous prototype for ‘_option_is_short’ ./grub-core/gnulib/argp.h:632: error: no previous prototype for ‘_option_is_end’ Using: gcc-4.4.7-3.el6.x86_64 Simple work around (for me) is attached - grub compiles cleanly. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 06 Jan 2014 08:18:08 GMT Name: grub-libc-diff.patch Size: 2kB By: greggles <http://savannah.gnu.org/bugs/download.php?file_id=30202> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?41118> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org https://lists.gnu.org/mailman/listinfo/bug-grub