bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Problem compiling with GCC-4


From: Greg Schafer
Subject: [Bug-tar] Problem compiling with GCC-4
Date: Mon, 10 Jan 2005 10:09:35 +1100
User-agent: Mutt/1.4.1i

Hi

When testing out GCC-4 snapshots, I've discovered that tar's "make check"
doesn't get anywhere because the compile of tests/genfile.c errors out with:

genfile.c:63: error: static declaration of 'argp_program_version' follows 
non-static declaration
../lib/argp.h:428: error: previous declaration of 'argp_program_version' was 
here
genfile.c:64: error: static declaration of 'argp_program_bug_address' follows 
non-static declaration
../lib/argp.h:444: error: previous declaration of 'argp_program_bug_address' 
was here
make[2]: *** [genfile.o] Error 1

Attached is a patch which makes it compile. Dunno if it's correct or not
tho'.

Regards
Greg

Attachment: tar-1.15.1-gcc4.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]