pkgsrc-Bugs archive

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

Re: pkg/40123: sysutils/file doesn't compile with gcc 3.3



The following reply was made to PR pkg/40123; it has been noted by GNATS.

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/40123: sysutils/file doesn't compile with gcc 3.3
Date: Sun, 07 Dec 2008 10:33:39 +0900

 On Sun, 07 Dec 2008 06:40:04 +0900, Bernd Ernesti 
<pr200825%veego.de@localhost> wrote:
 
 >>Description:
 >      gcc 3.3 doesn't support -Wextra:
 >
 >  cc -DHAVE_CONFIG_H -I. -I.. 
 > -DMAGIC=\"/usr/pkg/etc/magic:/usr/pkg/share/file/magic\" -I/usr/include 
 > -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
 > -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wsign-compare 
 > -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra 
 > -Wunused-parameter -O2 -I/usr/include -MT magic.lo -MD -MP -MF 
 > .deps/magic.Tpo -c magic.c  -fPIC -DPIC -o .libs/magic.o
 > cc1: error: unrecognized option `-Wextra'
 > *** Error code 1
 >
 >>How-To-Repeat:
 >      cd sysutils/file && make
 >>Fix:
 
 Adding CONFIGURE_ARGS+=--disable-warnings is a workaround.
 
 
 mk/wrapper/transform-gcc pass through -Wextra unconditionally.
 Should it do following transforms?
   -Wextra ==> -W       if GCC3
   -W      ==> -Wextra  if GCC4
 
 -- 
 "Of course I love NetBSD":-)
 OBATA Akio / obache%NetBSD.org@localhost
 


Home | Main Index | Thread Index | Old Index