pkgsrc-Bugs archive

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

Re: pkg/51075: Can't build archivers/zziplib



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

From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost,
	coypu%sdf.org@localhost
Subject: Re: pkg/51075: Can't build archivers/zziplib
Date: Mon, 18 Apr 2016 13:56:45 +0200

 On Mon, Apr 18, 2016 at 10:55:00AM +0000, coypu%SDF.ORG@localhost wrote:
 > The following reply was made to PR pkg/51075; it has been noted by GNATS.
 > 
 > From: coypu%SDF.ORG@localhost
 > To: gnats-bugs%netbsd.org@localhost
 > Cc: 
 > Subject: Re: pkg/51075: Can't build archivers/zziplib
 > Date: Mon, 18 Apr 2016 10:52:44 +0000
 > 
 >  This works:
 >  CFLAGS+="-std=gnu89" bmake install
 >  
 >  
 >  turning _zzip_inline to static inline gets more errors:
 >  
 >  In file included from ../zzip/zzip.h:22:0,
 >                   from ../zzip/lib.h:21,
 >                   from file.c:15:
 >  ../zzip/types.h:38:36: error: C++ style comments are not allowed in ISO C90
 >   typedef unsigned char zzip_byte_t; // especially zlib decoding data
 >                                      ^
 
 Are you sure it isn't forcing some stupid standard mode i.e. with -ansi?
 "C++ style" comments are perfectly valid C99 and that's what should be
 active by default (C11 in fact) with GCC 5.x.
 
 Joerg
 


Home | Main Index | Thread Index | Old Index