[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1.4.20 doesn't compile with default CFLAGS
From: |
Andrew Clausen |
Subject: |
Re: 1.4.20 doesn't compile with default CFLAGS |
Date: |
Sat, 27 Oct 2001 08:37:15 +1000 |
User-agent: |
Mutt/1.2.5i |
Oi Frédéric,
On Fri, Oct 26, 2001 at 10:25:28AM -0200, Frédéric L. W. Meunier wrote:
> Hi. GNU Parted 1.4.20 didn't compile here with default
> CFLAGS. I'm using GCC 3.0.2:
>
> gcc -DHAVE_CONFIG_H
> -I.-I/usr/local/src1/GNU/parted-1.4.20/libparted -I..
> -I/usr/local/src1/GNU/parted-1.4.20/include -D_REENTRANT
> -D_FILE_OFFSET_BITS=64 -DLOCALEDIR=/usr/share/locale -Os
> -mcpu=i386 -W -Wall -Wno-unused -Wno-switch -Werror -c
> /usr/local/src1/GNU/parted-1.4.20/libparted/disk_gpt.c -o
> disk_gpt.o
> cc1: warnings being treated as errors
> /usr/local/src1/GNU/parted-1.4.20/libparted/disk_gpt.c: In function
> gpt_print_part_entry':
> /usr/local/src1/GNU/parted-1.4.20/libparted/disk_gpt.c:355: warning: too many
> arguments for format
> /usr/local/src1/GNU/parted-1.4.20/libparted/disk_gpt.c:356: warning: too many
> arguments for format
> /usr/local/src1/GNU/parted-1.4.20/libparted/disk_gpt.c: In function
> gpt_print_header':
> /usr/local/src1/GNU/parted-1.4.20/libparted/disk_gpt.c:374: warning: too many
> arguments for format
> /usr/local/src1/GNU/parted-1.4.20/libparted/disk_gpt.c:378: warning: too many
> arguments for format
> /usr/local/src1/GNU/parted-1.4.20/libparted/disk_gpt.c:379: warning: too many
> arguments for format
> /usr/local/src1/GNU/parted-1.4.20/libparted/disk_gpt.c:380: warning: too many
> arguments for format
> /usr/local/src1/GNU/parted-1.4.20/libparted/disk_gpt.c:381: warning: too many
> arguments for format
> /usr/local/src1/GNU/parted-1.4.20/libparted/disk_gpt.c:385: warning: too many
> arguments for format
> make[3]: *** [disk_gpt.lo] Error 1
> make[3]: Leaving directory /home/pervalidus/tmp/objdir/libparted'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory /home/pervalidus/tmp/objdir/libparted'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory /home/pervalidus/tmp/objdir'
> make: *** [all-recursive-am] Error 2
>
> Is it safe to use 1.4.20 ?
All of those warnings are bogus (bugs in gcc, IMHO). Especially given
I put -Wno-format in... I should submit a bug report...
t+
Andrew