pkgsrc-Bugs archive

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

Re: pkg/45019: misc/colorls fails to build due to warnings with -Werror



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

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/45019: misc/colorls fails to build due to warnings with
 -Werror
Date: Sat, 4 Jun 2011 03:57:58 +0000

 On Sat, Jun 04, 2011 at 01:00:01AM +0000, kojiro%hello-channel.com@localhost 
wrote:
  > colorls cannot build because of warnings with -Werror. They are;
  > three missing forward declarations, a missing function return type,
  > and an implicit system header being used without being included.
 
 so, on my machine it builds with
 
        cc -O2   -Werror     -c    print.c
 
 and doesn't print any warnings, and therefore doesn't fail. I assume
 you're getting other -W flags from somewhere?
 
 also, I don't know what the origin of the code is but it's BSD-derived
 and looks prehistoric... probably the distfile should be updated.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index