bugGNU GRUB - Bugs: bug #41118, No 'previous prototype error' for...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #41118: No 'previous prototype error' for argp_usage, _option_is_short, _option_is_end

Submitted by:  Greg Wickham <greggles>
Submitted on:  Mon 06 Jan 2014 08:18:08 AM UTC  
 
Category: CompilationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Git masterReproducibility: Every Time
Planned Release: None

Tue 07 Jan 2014 03:53:29 PM UTC, comment #2:

Confued bugs, sorry, ignore last message.

Vladimir Serbinenko <phcoder>
Project Administrator
Tue 07 Jan 2014 03:49:04 PM UTC, comment #1:

Please run with attached patch to gather more info.

(file #30213)

Vladimir Serbinenko <phcoder>
Project Administrator
Mon 06 Jan 2014 08:18:08 AM UTC, original submission:

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.

Greg Wickham <greggles>

 

Attached Files
file #30213:  mmap.diff added by phcoder (1KiB - text/x-diff)
file #30202:  grub-libc-diff.patch added by greggles (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Updated the item)
  • -unavailable- added by greggles (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 18 Jan 2014 03:45:23 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 07 Jan 2014 03:49:04 PM UTCphcoderAttached File-=>Added mmap.diff, #30213
    Mon 06 Jan 2014 08:18:08 AM UTCgregglesAttached File-=>Added grub-libc-diff.patch, #30202

    Back to the top


    Powered by Savane 3.1-cleanup1